1
0
mirror of https://github.com/microsoft/DirectXTex synced 2024-11-09 14:30:05 +00:00

Fixed potential locale issue in parsing -flist

This commit is contained in:
Chuck Walbourn 2021-10-28 11:12:16 -07:00
parent 6c661ae6d8
commit fbe1eb5c6f
3 changed files with 6 additions and 0 deletions

View File

@ -1160,6 +1160,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
return 1;
}
inFile.imbue(std::locale::classic());
ProcessFileList(inFile, conversion);
}
break;

View File

@ -1862,6 +1862,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
return 1;
}
inFile.imbue(std::locale::classic());
ProcessFileList(inFile, conversion);
}
break;

View File

@ -3434,6 +3434,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
return 1;
}
inFile.imbue(std::locale::classic());
ProcessFileList(inFile, conversion);
}
break;