aboutsummaryrefslogtreecommitdiff
path: root/src/alg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/alg.c')
-rw-r--r--src/alg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alg.c b/src/alg.c
index 354bdb6..cd6834c 100644
--- a/src/alg.c
+++ b/src/alg.c
@@ -231,7 +231,7 @@ new_alg(char *str)
231 } 231 }
232 232
233 move_read = false; 233 move_read = false;
234 for (j = 0; j < NMOVES; j++) { 234 for (j = U; j < NMOVES; j++) {
235 if (str[i] == move_string(j)[0] || 235 if (str[i] == move_string(j)[0] ||
236 (str[i] >= 'a' && str[i] <= 'z' && 236 (str[i] >= 'a' && str[i] <= 'z' &&
237 str[i] == move_string(j)[0]-('A'-'a') && j<=B)) { 237 str[i] == move_string(j)[0]-('A'-'a') && j<=B)) {

Generated with cgit - Back to sebastiano.tronto.net