diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-21 15:18:22 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-21 15:18:22 +0000 |
commit | 1b6462b532772d0d0537a760f34f82daceccb55d (patch) | |
tree | e412606ac75116000c7703c1e6d0889f4e7a8542 /plugins/PluginUpdater/src/Notifications.cpp | |
parent | bc97d8192aa854aa675ae9cb68c79fca2c7893bc (diff) |
PluginUpdater:
- fix for displaying MessageBox over modeless dialog;
- auto-handle for a pipe;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7815 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/PluginUpdater/src/Notifications.cpp')
-rw-r--r-- | plugins/PluginUpdater/src/Notifications.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/PluginUpdater/src/Notifications.cpp b/plugins/PluginUpdater/src/Notifications.cpp index 15b28ab0c6..e76ce083bb 100644 --- a/plugins/PluginUpdater/src/Notifications.cpp +++ b/plugins/PluginUpdater/src/Notifications.cpp @@ -115,7 +115,7 @@ static void MakePopupAction(POPUPACTION &pa, int id) void ShowPopup(HWND hDlg, LPCTSTR ptszTitle, LPCTSTR ptszText, int Number, int ActType)
{
- if ( !ServiceExists(MS_POPUP_ADDPOPUPT) || !db_get_b(NULL, "Popup", "ModuleIsEnabled", 1) ) {
+ if (!ServiceExists(MS_POPUP_ADDPOPUPT) || !db_get_b(NULL, "Popup", "ModuleIsEnabled", 1) ) {
char setting[100];
mir_snprintf(setting, SIZEOF(setting), "Popups%dM", Number);
if (db_get_b(NULL, MODNAME, setting, DEFAULT_MESSAGE_ENABLED)) {
|