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