aboutsummaryrefslogtreecommitdiff
path: root/src/core/io_trans.h
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2024-12-15 10:50:00 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2024-12-15 10:50:00 +0100
commitcb800102a14fb6923546b9d036dbf4e6a5b7542a (patch)
treef0764cd8a1f0681cdb9492cf445d60d56c8304d3 /src/core/io_trans.h
parentd2eb169c675101a64fb873a289fad1d4fe70c5e5 (diff)
downloadnissy-core-cb800102a14fb6923546b9d036dbf4e6a5b7542a.tar.gz
nissy-core-cb800102a14fb6923546b9d036dbf4e6a5b7542a.zip
Solve bug related to duplicate solutions
Diffstat (limited to 'src/core/io_trans.h')
-rw-r--r--src/core/io_trans.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/io_trans.h b/src/core/io_trans.h
index f0db095..71b2287 100644
--- a/src/core/io_trans.h
+++ b/src/core/io_trans.h
@@ -6,7 +6,7 @@ readtrans(const char buf[static NISSY_SIZE_TRANSFORMATION])
6{ 6{
7 uint8_t t; 7 uint8_t t;
8 8
9 for (t = 0; t < 48; t++) 9 for (t = 0; t < NTRANS; t++)
10 if (!strncmp(buf, transstr[t], 11)) 10 if (!strncmp(buf, transstr[t], 11))
11 return t; 11 return t;
12 12

Generated with cgit - Back to sebastiano.tronto.net