summaryrefslogtreecommitdiff
path: root/plugins/ProxySwitch/src/main.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-06-24 19:52:05 +0300
committerMataes <mataes2007@gmail.com>2018-06-24 19:52:05 +0300
commitb88fde4f42f4a793c6468c32faad573d0cfe1247 (patch)
tree9906ff18a75821e84e75b01c8b2a84c7433e6635 /plugins/ProxySwitch/src/main.cpp
parentf894a2babaea41e3df2d7d7effd883478e4dfbe3 (diff)
ProxySwitch: crash fix on popup showing
Diffstat (limited to 'plugins/ProxySwitch/src/main.cpp')
-rw-r--r--plugins/ProxySwitch/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ProxySwitch/src/main.cpp b/plugins/ProxySwitch/src/main.cpp
index a339ee06bb..48f76dbd9b 100644
--- a/plugins/ProxySwitch/src/main.cpp
+++ b/plugins/ProxySwitch/src/main.cpp
@@ -84,7 +84,7 @@ void PopupMyIPAddrs(wchar_t *msg)
wcsncpy_s(ppd.lpwzContactName, TranslateT("Current IP address"), _TRUNCATE);
ppd.colorBack = opt_defaultColors ? 0 : opt_bgColor;
ppd.colorText = opt_defaultColors ? 0 : opt_txtColor;
- CallService(MS_POPUP_ADDPOPUP, (WPARAM)&ppd, 0);
+ PUAddPopupW(&ppd);
}
else {
MessageBox(NULL, ppd.lpwzText, _A2T(MODULENAME), MB_OK | MB_ICONINFORMATION);