mirror of
https://github.com/microsoft/DirectXTex.git
synced 2025-07-09 11:40:14 +02:00
Fixed potential locale issue in parsing -flist
This commit is contained in:
parent
6c661ae6d8
commit
fbe1eb5c6f
@ -1160,6 +1160,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inFile.imbue(std::locale::classic());
|
||||||
|
|
||||||
ProcessFileList(inFile, conversion);
|
ProcessFileList(inFile, conversion);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -1862,6 +1862,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inFile.imbue(std::locale::classic());
|
||||||
|
|
||||||
ProcessFileList(inFile, conversion);
|
ProcessFileList(inFile, conversion);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -3434,6 +3434,8 @@ int __cdecl wmain(_In_ int argc, _In_z_count_(argc) wchar_t* argv[])
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
inFile.imbue(std::locale::classic());
|
||||||
|
|
||||||
ProcessFileList(inFile, conversion);
|
ProcessFileList(inFile, conversion);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user