mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
Fix font problems
This commit is contained in:
@@ -1192,7 +1192,7 @@ extern "C" __declspec(DLL_EXPORT) int LauncherMain( HINSTANCE hInstance, HINSTAN
|
||||
DLL_EXPORT int LauncherMain( int argc, char **argv )
|
||||
#endif
|
||||
{
|
||||
#ifdef LINUX
|
||||
#if defined LINUX && !defined ANDROID
|
||||
// Temporary fix to stop us from crashing in printf/sscanf functions that don't expect
|
||||
// localization to mess with your "." and "," float seperators. Mac OSX also sets LANG
|
||||
// to en_US.UTF-8 before starting up (in info.plist I believe).
|
||||
@@ -1208,12 +1208,12 @@ DLL_EXPORT int LauncherMain( int argc, char **argv )
|
||||
const char *CurrentLocale = setlocale( LC_ALL, NULL );
|
||||
if ( Q_stricmp( CurrentLocale, en_US ) )
|
||||
{
|
||||
Warning( "WARNING: setlocale('%s') failed, using locale:'%s'. International characters may not work.\n", en_US, CurrentLocale );
|
||||
Msg( "WARNING: setlocale('%s') failed, using locale:'%s'. International characters may not work.\n", en_US, CurrentLocale );
|
||||
}
|
||||
|
||||
#endif // LINUX
|
||||
|
||||
#if defined LINUX && defined USE_SDL && defined TOGLES
|
||||
#if defined LINUX && defined USE_SDL && defined TOGLES && !defined ANDROID
|
||||
SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "1");
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user