diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-27 17:30:44 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-27 17:30:44 +0200 |
commit | 5bec63758f8eaf99391cad94f3e3d16f6913dba6 (patch) | |
tree | a4a84843d59d633bac45688d786621e76c05d428 | |
parent | ea0c8e8a9fdc1cbcd33ab344c02df490f13f840e (diff) |
Bugfix: '\n' should be 'n' for next Prolog answer
-rw-r--r-- | js/codeq/prolog.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/prolog.js b/js/codeq/prolog.js index f2f060f..52bdec5 100644 --- a/js/codeq/prolog.js +++ b/js/codeq/prolog.js @@ -150,7 +150,7 @@ switch (c) {
case ' ':
case ';':
- case '\n':
+ case 'n':
return ';'; // show next answer on space, semicolon or enter
default:
return '.'; // everything else: stop searching for answers
|