X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..b4c1fe36b9854cdb404906ba3a181a67f9247e0e:/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__