Encoding: Fix debug asserts parsing command line options with non-ascii chars.
With MSVC, isspace() will assert with non-ascii characters.
This commit is contained in:
parent
9dc88ee951
commit
b6b493a4ed
|
@ -439,7 +439,7 @@ void cmSystemTools::ParseWindowsCommandLine(const char* command,
|
|||
{
|
||||
arg.append(backslashes, '\\');
|
||||
backslashes = 0;
|
||||
if(isspace(*c))
|
||||
if(((*c & 0x80) == 0 ) && isspace(*c))
|
||||
{
|
||||
if(in_quotes)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue