Returning zero instead of cmp from do_surfcmp() stopped listing all available localized labels on font selector.

In addition, removed Hiragana from translated strings for font scoring.
I have to learn more about this method before doing so.
This commit is contained in:
dolphin6k 2022-12-11 10:34:48 +09:00
parent 5ccc950447
commit 33ef6456bd
2 changed files with 5 additions and 5 deletions

View file

@ -1617,7 +1617,7 @@ static int do_surfcmp(const SDL_Surface * const *const v1,
}
/* In the end, they were the same! */
return 0;
return cmp;
}
// see if two font surfaces are the same

View file

@ -132,7 +132,7 @@ msgstr "QX"
#. distinct uppercase and lowercase (e.g., 'o' vs. 'O')
#: ../dirwalk.c:234
msgid "oO"
msgstr "ぉお"
msgstr "oO"
#. common punctuation (e.g., '?', '!', '.', ',', etc.)
#: ../dirwalk.c:240
@ -152,12 +152,12 @@ msgstr "017"
#. distinct circle-like characters (e.g., 'O' (capital oh) vs. '0' (zero))
#: ../dirwalk.c:255
msgid "O0"
msgstr "O0"
msgstr "O0"
#. distinct line-like characters (e.g., 'l' (lowercase elle) vs. '1' (one) vs. 'I' (capital aye))
#: ../dirwalk.c:260
msgid "1Il|"
msgstr "1Il|"
msgstr "1Il|"
#: ../dirwalk.c:266
msgid "<1>spare-1a"
@ -1252,7 +1252,7 @@ msgstr "さいしょから"
#: ../tuxpaint.c:10826 ../tuxpaint.c:10829 ../tuxpaint.c:10831
msgid "Aa"
msgstr "あ"
msgstr "あ"
# FIXME: Move elsewhere! Or not?!
#. Admittedly stupid way of determining which keys can be used for