diff options
author | George Hazan <george.hazan@gmail.com> | 2024-02-09 12:15:01 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-02-09 12:15:01 +0300 |
commit | aa3f51fd00213fa82a2d7ad092e05319f6a4be90 (patch) | |
tree | 1170a941c56d2b6bd19f436c66bdaa75d8710cb7 /src/mir_app | |
parent | ab53bb4692c05cff1f1842dbbea887876ef550c5 (diff) |
code cleaning
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/options.cpp b/src/mir_app/src/options.cpp index a0766677f1..2c0cada881 100644 --- a/src/mir_app/src/options.cpp +++ b/src/mir_app/src/options.cpp @@ -522,7 +522,7 @@ class COptionsDlg : public CDlgBase }
else {
HINSTANCE hinst = (HINSTANCE)m_keywordFilter.GetCurData();
- if (hinst != INVALID_HANDLE_VALUE) {
+ if (hinst) {
wchar_t szFileName[300];
GetModuleFileName(hinst, szFileName, _countof(szFileName));
wchar_t *pos = wcsrchr(szFileName, '\\');
|