From 715e42893f55ad3383c0ba0ea65711d5c0688c6e Mon Sep 17 00:00:00 2001 From: pommicket Date: Fri, 15 Jan 2016 17:33:08 -0500 Subject: Fixed input --- build/GNULinux/cook | Bin 11368 -> 11368 bytes source/bfcompiler.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build/GNULinux/cook b/build/GNULinux/cook index bfa2ab3..200e95a 100755 Binary files a/build/GNULinux/cook and b/build/GNULinux/cook differ diff --git a/source/bfcompiler.c b/source/bfcompiler.c index 3fdb9ac..2f3a102 100644 --- a/source/bfcompiler.c +++ b/source/bfcompiler.c @@ -128,7 +128,7 @@ void compilebf(char* bf) putchar(l->array[ptr]); break; case ',': - scanf("%c", &c); + scanf(" %c", &c); l->array[ptr] = c; case '[': if (!l->array[ptr]) -- cgit v1.2.3