diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-05 21:10:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-05 21:10:22 +0300 |
commit | d9fddc0cfa9066eb1b5ad3f4807b37426ae6ca88 (patch) | |
tree | f09baaf9b91477d009cedc5bd77449b0fa3e3af7 /plugins/CrashDumper | |
parent | 8a1ff32e54b39ceef22df61bda17bbfda94918fc (diff) |
Popup:
- wiping out checks for service presence;
- code cleaning
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r-- | plugins/CrashDumper/src/ui.cpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/plugins/CrashDumper/src/ui.cpp b/plugins/CrashDumper/src/ui.cpp index 390d0af67e..01e9c52a7d 100644 --- a/plugins/CrashDumper/src/ui.cpp +++ b/plugins/CrashDumper/src/ui.cpp @@ -316,13 +316,9 @@ void ShowMessage(int type, const wchar_t *format, ...) pi.lpwzText[len] = 0;
va_end(va);
- if (ServiceExists(MS_POPUP_ADDPOPUPW)) {
- mir_wstrcpy(pi.lpwzContactName, _A2W(MODULENAME));
- pi.lchIcon = LoadIconEx(IDI_VI);
- pi.PluginWindowProc = DlgProcPopup;
- pi.PluginData = (void*)type;
-
- PUAddPopupW(&pi);
- }
- else MessageBox(nullptr, pi.lpwzText, _A2W(MODULENAME), MB_OK | MB_ICONINFORMATION);
+ mir_wstrcpy(pi.lpwzContactName, _A2W(MODULENAME));
+ pi.lchIcon = LoadIconEx(IDI_VI);
+ pi.PluginWindowProc = DlgProcPopup;
+ pi.PluginData = (void*)type;
+ PUAddPopupW(&pi);
}
|