common: Remove out of bounds and erroenous array access

(cherry-picked from bf32122134)
This commit is contained in:
Mark Roszko 2019-12-14 16:35:26 -05:00 committed by Ian McInerney
parent 388d74faf4
commit 35d3f1f72a
1 changed files with 1 additions and 1 deletions

View File

@ -425,7 +425,7 @@ wxString KIwxExpandEnvVars(const wxString& str)
if( !expanded ) if( !expanded )
strResult << (wxChar)bracket; strResult << (wxChar)bracket;
str_m = str[++m]; m++;
} }
} }