Problem with high score initial entry with Alphanumeric systems

8 views
Skip to first unread message

Ewan Meadows

unread,
Nov 13, 2013, 7:27:38 AM11/13/13
to fre...@googlegroups.com
Spotted another bug a while ago, this time to do with the high score
entry. It seems to show the wrong letter when you are entering the
high score initials:

diff --git a/common/initials.c b/common/initials.c
index 23acdc5..c0a80b6 100644
--- a/common/initials.c
+++ b/common/initials.c
@@ -45,7 +45,11 @@ static const unsigned char initial_chars[] = "ABCDEFGHIJKLMNO
#endif
#define MAX_INITIAL_INITIAL (sizeof (initial_chars) - MAX_LETTERS_SHOWN)

+#if (MACHINE_ALPHANUMERIC == 1)
+#define SELECT_OFFSET 0
+#else
#define SELECT_OFFSET 2
+#endif
#define FONT_WIDTH 8
#define ALPHABET_LEN 32

Brian Dominy

unread,
Nov 15, 2013, 4:48:16 PM11/15/13
to fre...@googlegroups.com
That's exactly the right fix.  I found the same patch sitting in another branch of mine that I haven't published yet.  Thanks for pointing that out.

Brian




--

---
You received this message because you are subscribed to the Google Groups "FreeWPC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to freewpc+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
- Brian
Reply all
Reply to author
Forward
0 new messages