summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-09-27 17:30:44 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-09-27 17:30:44 +0200
commit5bec63758f8eaf99391cad94f3e3d16f6913dba6 (patch)
treea4a84843d59d633bac45688d786621e76c05d428
parentea0c8e8a9fdc1cbcd33ab344c02df490f13f840e (diff)
Bugfix: '\n' should be 'n' for next Prolog answer
-rw-r--r--js/codeq/prolog.js2
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