summaryrefslogtreecommitdiff
path: root/popup
diff options
context:
space:
mode:
authormataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-25 12:39:54 +0000
committermataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb>2011-05-25 12:39:54 +0000
commitc0c127c45c9a152b3c221d8068a71b0c9aa513b4 (patch)
tree520299364cc45523c2f77a2d6614b2b024b69c64 /popup
parentf4639afcc4aa8f10dcf4c49e98e63b39c11f5b2b (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.h3
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;
}