summaryrefslogtreecommitdiff
path: root/plugins/ProxySwitch/src/opt.cpp
diff options
context:
space:
mode:
authorMataes <mataes2007@gmail.com>2018-06-24 14:07:21 +0300
committerMataes <mataes2007@gmail.com>2018-06-24 14:07:21 +0300
commitfa29a91db7c92959f803c543cd9c89024d7862fd (patch)
tree88d8645189a68c331b698a31bc1ed8f5501b0ad8 /plugins/ProxySwitch/src/opt.cpp
parent67c2759392bd6a1cde3d1a63196be99e02e5c995 (diff)
ProxySwitch: code cleaning
Diffstat (limited to 'plugins/ProxySwitch/src/opt.cpp')
-rw-r--r--plugins/ProxySwitch/src/opt.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/ProxySwitch/src/opt.cpp b/plugins/ProxySwitch/src/opt.cpp
index 51ce52f6be..a7a7ecb1e0 100644
--- a/plugins/ProxySwitch/src/opt.cpp
+++ b/plugins/ProxySwitch/src/opt.cpp
@@ -161,19 +161,19 @@ void LoadSettings(void)
{
DBVARIANT dbv;
if (db_get(NULL, MODULENAME, "UseProxyIPNets", &dbv))
- lstrcpy(opt_useProxy, L"");
+ mir_wstrcpy(opt_useProxy, L"");
else
- lstrcpy(opt_useProxy, dbv.pwszVal);
+ mir_wstrcpy(opt_useProxy, dbv.pwszVal);
db_free(&dbv);
if (db_get(NULL, MODULENAME, "NoProxyIPNets", &dbv))
- lstrcpy(opt_noProxy, L"");
+ mir_wstrcpy(opt_noProxy, L"");
else
- lstrcpy(opt_noProxy, dbv.pwszVal);
+ mir_wstrcpy(opt_noProxy, dbv.pwszVal);
db_free(&dbv);
if (db_get(NULL, MODULENAME, "HideInterfaces", &dbv))
- lstrcpy(opt_hideIntf, L"");
+ mir_wstrcpy(opt_hideIntf, L"");
else
- lstrcpy(opt_hideIntf, dbv.pwszVal);
+ mir_wstrcpy(opt_hideIntf, dbv.pwszVal);
db_free(&dbv);
opt_miranda = db_get_b(NULL, MODULENAME, "ManageMirandaProxy", TRUE);
opt_ie = db_get_b(NULL, MODULENAME, "ManageIEProxy", FALSE);