diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-08-22 09:18:09 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-08-22 09:18:09 +0000 |
commit | d746e092b2f10583c56888ed805682b2ef224c91 (patch) | |
tree | 70928d587a3810822fcd62e62e1f5d90fb1cebb3 /plugins/KeyboardNotify/src/main.cpp | |
parent | 296e6a8691de536c706babe5980eaddeb3e2a471 (diff) |
hopefully another crash fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@1520 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/KeyboardNotify/src/main.cpp')
-rw-r--r-- | plugins/KeyboardNotify/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/KeyboardNotify/src/main.cpp b/plugins/KeyboardNotify/src/main.cpp index a0f60b4ec5..53d135252c 100644 --- a/plugins/KeyboardNotify/src/main.cpp +++ b/plugins/KeyboardNotify/src/main.cpp @@ -846,7 +846,7 @@ void createProcessList(void) ProcessList.szFileName = (TCHAR **)malloc(count * sizeof(TCHAR *));
if (ProcessList.szFileName) {
for(i=0; i < count; i++)
- if (DBGetContactSetting(NULL, KEYBDMODULE, fmtDBSettingName("process%d", i), &dbv))
+ if (DBGetContactSettingTString(NULL, KEYBDMODULE, fmtDBSettingName("process%d", i), &dbv))
ProcessList.szFileName[i] = NULL;
else {
ProcessList.szFileName[i] = (TCHAR *)malloc(wcslen(dbv.ptszVal) + 1);
|