summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpommicket <leonardomtenenbaum@gmail.com>2016-01-15 17:33:08 -0500
committerpommicket <leonardomtenenbaum@gmail.com>2016-01-15 17:33:08 -0500
commit715e42893f55ad3383c0ba0ea65711d5c0688c6e (patch)
treeda4cdd54053dac093756cc7910e57dee7620b348
parente2a8a663bffae5df7bf31c9eea5a097419a24154 (diff)
Fixed input
-rwxr-xr-xbuild/GNULinux/cookbin11368 -> 11368 bytes
-rw-r--r--source/bfcompiler.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/build/GNULinux/cook b/build/GNULinux/cook
index bfa2ab3..200e95a 100755
--- a/build/GNULinux/cook
+++ b/build/GNULinux/cook
Binary files 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])