Check envvars as well before flagging as un-resolved.

Fixes https://gitlab.com/kicad/code/kicad/issues/4644
This commit is contained in:
Jeff Young
2020-08-01 00:24:26 +01:00
parent 9977299340
commit e86fc64e7d
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ wxString KIwxExpandEnvVars( const wxString& str, const PROJECT* aProject )
size_t m = n + 1;
wxUniChar str_m = str[m];
while( m < strlen && ( wxIsalnum( str_m ) || str_m == wxT( '_' ) ) )
while( m < strlen && ( wxIsalnum( str_m ) || str_m == wxT( '_' ) || str_m == wxT( ':' ) ) )
str_m = str[++m];
wxString strVarName( str.c_str() + n + 1, m - n - 1 );