aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorKirben2013-11-11 23:53:53 +1100
committerKirben2013-11-11 23:53:53 +1100
commit3950dad947e5f581ecfba8c7526555a5398d59d5 (patch)
treea76a500dbc79611701df84b9e2332a2d2795bb61 /backends
parenta99f3ca817d7215429f65290e5dded0b7251cb94 (diff)
downloadscummvm-rg350-3950dad947e5f581ecfba8c7526555a5398d59d5.tar.gz
scummvm-rg350-3950dad947e5f581ecfba8c7526555a5398d59d5.tar.bz2
scummvm-rg350-3950dad947e5f581ecfba8c7526555a5398d59d5.zip
SDL: Remove misleading comments, based on incomplete information at MSDN. GetLocalInfo is supported on Windows 95 onwards, but MSDN fails to mention older Windows versions.
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/sdl/sdl.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index bc80d8ad6a..178eeb96af 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -369,17 +369,6 @@ Common::String OSystem_SDL::getSystemLanguage() const {
const LCID languageIdentifier = GetThreadLocale();
- // GetLocalInfo is only supported starting from Windows 2000, according to this:
- // http://msdn.microsoft.com/en-us/library/dd318101%28VS.85%29.aspx
- // On the other hand the locale constants used, seem to exist on Windows 98 too,
- // check this for that: http://msdn.microsoft.com/en-us/library/dd464799%28v=VS.85%29.aspx
- //
- // I am not exactly sure what is the truth now, it might be very well that this breaks
- // support for systems older than Windows 2000....
- //
- // TODO: Check whether this (or ScummVM at all ;-) works on a system with Windows 98 for
- // example and if it does not and we still want Windows 9x support, we should definitly
- // think of another solution.
if (GetLocaleInfo(languageIdentifier, LOCALE_SISO639LANGNAME, langName, sizeof(langName)) != 0 &&
GetLocaleInfo(languageIdentifier, LOCALE_SISO3166CTRYNAME, ctryName, sizeof(ctryName)) != 0) {
Common::String localeName = langName;