diff options
Diffstat (limited to 'src/tools/thmviewer/load.cpp')
| -rw-r--r-- | src/tools/thmviewer/load.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/thmviewer/load.cpp b/src/tools/thmviewer/load.cpp index 924f373d..ca1460e3 100644 --- a/src/tools/thmviewer/load.cpp +++ b/src/tools/thmviewer/load.cpp | |||
| @@ -152,7 +152,7 @@ static DWORD WINAPI LoadThreadProc( | |||
| 152 | // If our file was updated, check to see if the modified time really changed. The notifications | 152 | // If our file was updated, check to see if the modified time really changed. The notifications |
| 153 | // are often trigger happy thinking the file changed two or three times in a row. Maybe it's AV | 153 | // are often trigger happy thinking the file changed two or three times in a row. Maybe it's AV |
| 154 | // software creating the problems but actually checking the modified date works well. | 154 | // software creating the problems but actually checking the modified date works well. |
| 155 | if (CSTR_EQUAL == ::CompareStringW(LOCALE_NEUTRAL, NORM_IGNORECASE, pNotification->FileName, pNotification->FileNameLength / sizeof(WCHAR), wzFileName, -1)) | 155 | if (CSTR_EQUAL == ::CompareStringOrdinal(pNotification->FileName, pNotification->FileNameLength / sizeof(WCHAR), wzFileName, -1, TRUE)) |
| 156 | { | 156 | { |
| 157 | FILETIME ft = { }; | 157 | FILETIME ft = { }; |
| 158 | FileGetTime(sczThemePath, NULL, NULL, &ft); | 158 | FileGetTime(sczThemePath, NULL, NULL, &ft); |
