aboutsummaryrefslogtreecommitdiff
path: root/src/tools/thmviewer/thmviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/thmviewer/thmviewer.cpp')
-rw-r--r--src/tools/thmviewer/thmviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/thmviewer/thmviewer.cpp b/src/tools/thmviewer/thmviewer.cpp
index 5d4b88f5..69a9920b 100644
--- a/src/tools/thmviewer/thmviewer.cpp
+++ b/src/tools/thmviewer/thmviewer.cpp
@@ -241,7 +241,7 @@ static HRESULT ProcessCommandLine(
241 { 241 {
242 if (argv[i][0] == L'-' || argv[i][0] == L'/') 242 if (argv[i][0] == L'-' || argv[i][0] == L'/')
243 { 243 {
244 if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, &argv[i][1], -1, L"lang", -1)) 244 if (CSTR_EQUAL == ::CompareStringOrdinal(&argv[i][1], -1, L"lang", -1, TRUE))
245 { 245 {
246 if (i + 1 >= argc) 246 if (i + 1 >= argc)
247 { 247 {
@@ -254,7 +254,7 @@ static HRESULT ProcessCommandLine(
254 else 254 else
255 { 255 {
256 LPCWSTR wzExtension = PathExtension(argv[i]); 256 LPCWSTR wzExtension = PathExtension(argv[i]);
257 if (CSTR_EQUAL == ::CompareStringW(LOCALE_INVARIANT, NORM_IGNORECASE, wzExtension, -1, L".wxl", -1)) 257 if (CSTR_EQUAL == ::CompareStringOrdinal(wzExtension, -1, L".wxl", -1, TRUE))
258 { 258 {
259 hr = StrAllocString(psczWxlFile, argv[i], 0); 259 hr = StrAllocString(psczWxlFile, argv[i], 0);
260 } 260 }