]> git.saurik.com Git - wxWidgets.git/commitdiff
Check for G_FILENAME_ENCODING=@locale case insensitively.
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 27 Nov 2006 09:50:36 +0000 (09:50 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Mon, 27 Nov 2006 09:50:36 +0000 (09:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/app.cpp

index d78d893db2d4ab665c181dea535849f02c726617..e7eef12e68bf988e87710cc40b521ea87c81abbe 100644 (file)
@@ -508,7 +508,7 @@ bool wxApp::Initialize(int& argc, wxChar **argv)
     //     of the filenames for GTK+ programs, so use it if it is set
     wxString encName(wxGetenv(_T("G_FILENAME_ENCODING")));
     encName = encName.BeforeFirst(_T(','));
-    if (encName == _T("@locale"))
+    if (encName.CmpNoCase(_T("@locale")) == 0)
         encName.clear();
     encName.MakeUpper();
 #if wxUSE_INTL