diff options
Diffstat (limited to 'plugins/PluginUpdater/src/Notifications.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index c8057276b7..e5a948f01d 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -97,19 +97,13 @@ 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;
-#if MIRANDA_VER >= 0x0A00
pd.lchIcon = IcoLib_GetIconByHandle(iconList[0].hIcolib);
-#else
- pd.lchIcon = IcoLib_GetIcon("check_update");
-#endif
+
if (Number == POPUP_TYPE_MSG) {
pd.PluginWindowProc = PopupDlgProcRestart;
pd.iSeconds = -1;
|