]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/config.cpp
output '}' as wxChar, not char, which results in using the int overload of operator...
[wxWidgets.git] / 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++;
             }
           }