diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-25 12:39:54 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-25 12:39:54 +0000 |
commit | c0c127c45c9a152b3c221d8068a71b0c9aa513b4 (patch) | |
tree | 520299364cc45523c2f77a2d6614b2b024b69c64 /popup | |
parent | f4639afcc4aa8f10dcf4c49e98e63b39c11f5b2b (diff) |
fixed crash
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@120 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
Diffstat (limited to 'popup')
-rw-r--r-- | popup/src/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/popup/src/common.h b/popup/src/common.h index b3ce289..d975e0d 100644 --- a/popup/src/common.h +++ b/popup/src/common.h @@ -137,7 +137,8 @@ inline INT_PTR DBGetContactSettingStringX(HANDLE hContact, const char *ModuleNam default:
break;
}
- CallService(MS_DB_CONTACT_FREEVARIANT, 0, (LPARAM)&dbv);
+ if(!result)
+ CallService(MS_DB_CONTACT_FREEVARIANT, 0, (LPARAM)&dbv);
return ret;
}
|