From beda874ab518e1f7e2deb75cf3eb9e6d6e128d26 Mon Sep 17 00:00:00 2001 From: vnctdj Date: Wed, 1 Jul 2015 22:45:35 +0200 Subject: [PATCH] Consistently use *des for the DesktopUI i18n category --- UI/NativeApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index ec304ee1ad..dfc697a18d 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -447,7 +447,7 @@ void NativeInit(int argc, const char *argv[], else i18nrepo.LoadIni(g_Config.sLanguageIni, langOverridePath); - I18NCategory *d = GetI18NCategory("DesktopUI"); + I18NCategory *des = GetI18NCategory("DesktopUI"); // Note to translators: do not translate this/add this to PPSSPP-lang's files. // It's intended to be custom for every user. // Only add it to your own personal copies of PPSSPP. @@ -455,7 +455,7 @@ void NativeInit(int argc, const char *argv[], // TODO: Could allow a setting to specify a font file to load? // TODO: Make this a constant if we can sanely load the font on other systems? AddFontResourceEx(L"assets/Roboto-Condensed.ttf", FR_PRIVATE, NULL); - g_Config.sFont = d->T("Font", "Roboto"); + g_Config.sFont = des->T("Font", "Roboto"); #endif if (!boot_filename.empty() && stateToLoad != NULL)