diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-15 18:31:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-15 18:31:03 +0000 |
commit | f49b5e29d4f4bece4d7ae6b509f2ec523f89b319 (patch) | |
tree | 020e5b8ffb947dcd3e70567f26b2b3bd3c4df69a /src/mir_app | |
parent | 4b48deb0396fd25e6146d2bd5deec6e792722e4c (diff) |
fix for a broken core modules filter in Options
git-svn-id: http://svn.miranda-ng.org/main/trunk@14182 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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 cce95cfe23..faf822d515 100644 --- a/src/mir_app/src/options.cpp +++ b/src/mir_app/src/options.cpp @@ -538,7 +538,7 @@ static void RebuildPageTree(HWND hdlg, OptionsDlgData *dat) else if (mir_tstrcmp(dat->szFilterString, TranslateT(CORE_MODULES_FILTER)) == 0) {
// replace string with process name - that will show core settings
TCHAR szFileName[300];
- GetModuleFileName(NULL, szFileName, SIZEOF(szFileName));
+ GetModuleFileName(g_hInst, szFileName, SIZEOF(szFileName));
TCHAR *pos = _tcsrchr(szFileName, _T('\\'));
if (pos)
pos++;
|