]> git.saurik.com Git - wxWidgets.git/commitdiff
output '}' as wxChar, not char, which results in using the int overload of operator...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Mar 2007 14:39:17 +0000 (14:39 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 17 Mar 2007 14:39:17 +0000 (14:39 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/config.cpp

index 15d559eb6589b7c6a4389ef63a525d68fbc253ae..660932e4697aa927a42a7ebd771a376323485a09 100644 (file)
@@ -425,7 +425,7 @@ wxString wxExpandEnvVars(const wxString& str)
             else {
               // skip closing bracket unless the variables wasn't expanded
               if ( pszValue == NULL )
             else {
               // skip closing bracket unless the variables wasn't expanded
               if ( pszValue == NULL )
-                strResult << (char)bracket;
+                strResult << (wxChar)bracket;
               m++;
             }
           }
               m++;
             }
           }