X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6eaf52a45d84ccc2fca1aef0edfc4f19cf9843b..a0477b5a2b864a164a1012b3cfea03dc42e869ba:/src/common/config.cpp diff --git a/src/common/config.cpp b/src/common/config.cpp index 660932e469..17db0fca5a 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -382,7 +382,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__