diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-20 16:28:02 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-11-20 16:28:02 +0100 |
| commit | 34524a3c5da2a8f6e9e13e112b6c55cc71e757ea (patch) | |
| tree | 28e5d053c1c1aeed7ceb950a87471d2e64d8fcd4 /src/alg.c | |
| parent | e04bd49636ef3490a8f4845189e4c9c9cfa1b059 (diff) | |
| download | nissy-34524a3c5da2a8f6e9e13e112b6c55cc71e757ea.tar.gz nissy-34524a3c5da2a8f6e9e13e112b6c55cc71e757ea.zip | |
Bugfix in reading scramble
Diffstat (limited to '')
| -rw-r--r-- | src/alg.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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)) { |
