aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile2
-rw-r--r--nissy-2.0beta3.tar.gzbin53230 -> 0 bytes
-rw-r--r--nissy-2.0beta4.tar.gzbin0 -> 53130 bytes
-rwxr-xr-xnissy.exebin633301 -> 633813 bytes
-rw-r--r--src/alg.c15
5 files changed, 14 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 85d696e..71e2297 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
1# See LICENSE file for copyright and license details. 1# See LICENSE file for copyright and license details.
2 2
3VERSION = 2.0beta3 3VERSION = 2.0beta4
4 4
5PREFIX = /usr/local 5PREFIX = /usr/local
6MANPREFIX = ${PREFIX}/share/man 6MANPREFIX = ${PREFIX}/share/man
diff --git a/nissy-2.0beta3.tar.gz b/nissy-2.0beta3.tar.gz
deleted file mode 100644
index 91c9e5e..0000000
--- a/nissy-2.0beta3.tar.gz
+++ /dev/null
Binary files differ
diff --git a/nissy-2.0beta4.tar.gz b/nissy-2.0beta4.tar.gz
new file mode 100644
index 0000000..4de4695
--- /dev/null
+++ b/nissy-2.0beta4.tar.gz
Binary files differ
diff --git a/nissy.exe b/nissy.exe
index e036d43..8e781d1 100755
--- a/nissy.exe
+++ b/nissy.exe
Binary files differ
diff --git a/src/alg.c b/src/alg.c
index cd6834c..4e96925 100644
--- a/src/alg.c
+++ b/src/alg.c
@@ -230,6 +230,17 @@ new_alg(char *str)
230 continue; 230 continue;
231 } 231 }
232 232
233 /* Single slash for comments */
234 if (str[i] == '/') {
235 while (str[i] && str[i] != '\n')
236 i++;
237
238 if (!str[i])
239 i--;
240
241 continue;
242 }
243
233 move_read = false; 244 move_read = false;
234 for (j = U; j < NMOVES; j++) { 245 for (j = U; j < NMOVES; j++) {
235 if (str[i] == move_string(j)[0] || 246 if (str[i] == move_string(j)[0] ||
@@ -270,8 +281,8 @@ new_alg(char *str)
270 } 281 }
271 282
272 if (!move_read) { 283 if (!move_read) {
273 alg = new_alg(""); 284 free(alg);
274 return alg; 285 return new_alg("");
275 } 286 }
276 } 287 }
277 288

Generated with cgit - Back to sebastiano.tronto.net