parent
bf32122134
commit
18dbe51d66
|
@ -377,9 +377,6 @@ wxString KIwxExpandEnvVars(const wxString& str)
|
||||||
|
|
||||||
wxString strVarName( str.c_str() + n + 1, m - n - 1 );
|
wxString strVarName( str.c_str() + n + 1, m - n - 1 );
|
||||||
|
|
||||||
#ifdef __WXWINCE__
|
|
||||||
const bool expanded = false;
|
|
||||||
#else
|
|
||||||
// NB: use wxGetEnv instead of wxGetenv as otherwise variables
|
// NB: use wxGetEnv instead of wxGetenv as otherwise variables
|
||||||
// set through wxSetEnv may not be read correctly!
|
// set through wxSetEnv may not be read correctly!
|
||||||
bool expanded = false;
|
bool expanded = false;
|
||||||
|
@ -391,7 +388,6 @@ wxString KIwxExpandEnvVars(const wxString& str)
|
||||||
expanded = true;
|
expanded = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
// variable doesn't exist => don't change anything
|
// variable doesn't exist => don't change anything
|
||||||
#ifdef __WINDOWS__
|
#ifdef __WINDOWS__
|
||||||
|
|
Loading…
Reference in New Issue