mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Test for the characters actually used in the given languages.
This commit is contained in:
parent
d0b7522b13
commit
df47a77387
@ -25,7 +25,7 @@
|
||||
* If you save this file as UTF-8, you'll break non-english characters
|
||||
* (e.g. German "Umlauts" and Portugese diacritics).
|
||||
*/
|
||||
extern const char encoding_test[sizeof("ø")==2 ? 1 : -1];
|
||||
extern const char encoding_test[sizeof("äÄöÖßüÜ")==7+1 ? 1 : -1];
|
||||
|
||||
const char *menu_hash_to_str_de(uint32_t hash)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
* If you save this file as UTF-8, you'll break non-english characters
|
||||
* (e.g. German "Umlauts" and Portugese diacritics).
|
||||
*/
|
||||
extern const char encoding_test[sizeof("ø")==2 ? 1 : -1];
|
||||
extern const char encoding_test[sizeof("àéÉèêô")==6+1 ? 1 : -1];
|
||||
|
||||
const char *menu_hash_to_str_fr(uint32_t hash)
|
||||
{
|
||||
|
@ -25,7 +25,7 @@
|
||||
* If you save this file as UTF-8, you'll break non-english characters
|
||||
* (e.g. German "Umlauts" and Portugese diacritics).
|
||||
*/
|
||||
extern const char encoding_test[sizeof("ø")==2 ? 1 : -1];
|
||||
extern const char encoding_test[sizeof("áÁâãçéêíÍóõú")==12+1 ? 1 : -1];
|
||||
|
||||
const char *menu_hash_to_str_pt(uint32_t hash)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user