From 33ef6456bdddb4ce71cdacc3b78cc6a864a62930 Mon Sep 17 00:00:00 2001 From: dolphin6k Date: Sun, 11 Dec 2022 10:34:48 +0900 Subject: [PATCH] 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. --- src/fonts.c | 2 +- src/po/ja.po | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/fonts.c b/src/fonts.c index a5e58e15e..9eb9c0bc9 100644 --- a/src/fonts.c +++ b/src/fonts.c @@ -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 diff --git a/src/po/ja.po b/src/po/ja.po index c3d747089..569c8e7eb 100644 --- a/src/po/ja.po +++ b/src/po/ja.po @@ -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