From e89ffec30785e5dd36a3af693ab9255755afec47 Mon Sep 17 00:00:00 2001 From: Romain Goyet Date: Wed, 2 Sep 2015 22:03:24 +0200 Subject: [PATCH] Stop input on '.' --- src/hello.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hello.cpp b/src/hello.cpp index abe5dc5c6..66fc629bd 100644 --- a/src/hello.cpp +++ b/src/hello.cpp @@ -21,7 +21,7 @@ void hello() { int index = 0; while (1) { char character = ion_getchar(); - if (character == 'X') { + if (character == '.') { input[index] = 0; index = 0; CreateFromString(input);