X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..81eaa4dab2246b96c460c38c711b5877b85d13a4:/src/common/config.cpp diff --git a/src/common/config.cpp b/src/common/config.cpp index c3a5e8b8ce..488aa3b118 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -393,7 +393,7 @@ wxString wxExpandEnvVars(const wxString& str) while ( m < str.length() && (wxIsalnum(str[m]) || str[m] == wxT('_')) ) m++; - + wxString strVarName(str.c_str() + n + 1, m - n - 1); #ifdef __WXWINCE__