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