From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Sat, 17 Mar 2007 14:39:17 +0000 (+0000)
Subject: output '}' as wxChar, not char, which results in using the int overload of operator... 
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f6eaf52a45d84ccc2fca1aef0edfc4f19cf9843b

output '}' as wxChar, not char, which results in using the int overload of operator<<() in Unicode build (patch 1682643)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/common/config.cpp b/src/common/config.cpp
index 15d559eb65..660932e469 100644
--- a/src/common/config.cpp
+++ b/src/common/config.cpp
@@ -425,7 +425,7 @@ wxString wxExpandEnvVars(const wxString& str)
             else {
               // skip closing bracket unless the variables wasn't expanded
               if ( pszValue == NULL )
-                strResult << (char)bracket;
+                strResult << (wxChar)bracket;
               m++;
             }
           }