[retro-gtk] environment: Drop the default language enum value



commit 0b8392722f75e70b7cf9d31b9305c2b9f215e596
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Sat Jul 31 08:44:26 2021 +0200

    environment: Drop the default language enum value
    
    It doesn't exist in Libretro and it is equal to English so let's just
    use English instead.

 retro-runner/retro-environment.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/retro-runner/retro-environment.c b/retro-runner/retro-environment.c
index fbf143c..31e25f7 100644
--- a/retro-runner/retro-environment.c
+++ b/retro-runner/retro-environment.c
@@ -76,7 +76,6 @@ enum RetroLanguage {
   RETRO_LANGUAGE_POLISH,
   RETRO_LANGUAGE_VIETNAMESE,
   RETRO_LANGUAGE_ARABIC,
-  RETRO_LANGUAGE_DEFAULT = RETRO_LANGUAGE_ENGLISH,
 };
 
 enum RetroLogLevel {
@@ -294,7 +293,7 @@ get_language (RetroCore *self,
     { "zh_HK", RETRO_LANGUAGE_CHINESE_TRADITIONAL },
     { "zh_SG", RETRO_LANGUAGE_CHINESE_SIMPLIFIED },
     { "zh_TW", RETRO_LANGUAGE_CHINESE_TRADITIONAL },
-    { "C", RETRO_LANGUAGE_DEFAULT },
+    { "C", RETRO_LANGUAGE_ENGLISH },
   };
 
   const gchar * const *locales = g_get_language_names ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]