]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/intl.cpp
SETUPHDIR is Bakefile variable, not MSVC IDE one
[wxWidgets.git] / src / common / intl.cpp
index 9a2dc0053608b52307b3002ac07ae10cca26ffe2..8b7a9c9426e8546aedf6297b548442ab3ba83564 100644 (file)
@@ -1719,7 +1719,7 @@ bool wxLocale::Init(int language, int flags)
         {
             retloc = wxSetlocaleTryUTF(LC_ALL, localeAlt);
             if ( !retloc )
-                retloc = wxSetlocaleTryUTF(LC_ALL, locale.Left(2));
+                retloc = wxSetlocaleTryUTF(LC_ALL, localeAlt.Left(2));
         }
     }