diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-07-27 21:22:22 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-07-27 21:22:22 +0000 |
commit | e9cc7df74e68a216bd45afaa370202ed0f2fb9b7 (patch) | |
tree | e583904c76cc0fb27ab55c53c6aff05ae66a9b32 /plugins/PluginUpdater/src/Notifications.cpp | |
parent | dde3a69d7716d12e00d827fc9b94705bbe3eb8f2 (diff) |
PluginUpdater:
- compilation fixes for IM_Updater
git-svn-id: http://svn.miranda-ng.org/main/trunk@14740 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Notifications.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 65cebbc854..de54bb43e5 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -97,7 +97,11 @@ void ShowPopup(LPCTSTR ptszTitle, LPCTSTR ptszText, int Number) {
if (ServiceExists(MS_POPUP_ADDPOPUPT) && db_get_b(NULL, "Popup", "ModuleIsEnabled", 1)) {
char setting[100];
+#if MIRANDA_VER < 0x0A00
+ mir_snprintf(setting, sizeof(setting), "Popups%d", Number);
+#else
mir_snprintf(setting, "Popups%d", Number);
+#endif
if (db_get_b(NULL, MODNAME, setting, DEFAULT_POPUP_ENABLED)) {
POPUPDATAT pd = { 0 };
pd.lchContact = NULL;
|