summaryrefslogtreecommitdiff
path: root/plugins/XSoundNotify/src/options.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-11-17 22:24:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-11-17 22:24:00 +0300
commitf7d5fcc117aaeccfdc98bce2a4280641ee7e52c9 (patch)
tree18da75eb5431b7c913f6893a7dce98740436487b /plugins/XSoundNotify/src/options.cpp
parent3079a6563ebc5887839ec29984206f2950638a4d (diff)
PathToRelativeT - forgotten macro
Diffstat (limited to 'plugins/XSoundNotify/src/options.cpp')
-rw-r--r--plugins/XSoundNotify/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/XSoundNotify/src/options.cpp b/plugins/XSoundNotify/src/options.cpp
index 62ff836c1e..ebdff5cacf 100644
--- a/plugins/XSoundNotify/src/options.cpp
+++ b/plugins/XSoundNotify/src/options.cpp
@@ -226,7 +226,7 @@ static INT_PTR CALLBACK OptsProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
for (int i = 0; i < XSN_Users.getCount(); i++) {
if (mir_wstrcmpi(XSN_Users[i]->path, L"")) {
wchar_t shortpath[MAX_PATH];
- PathToRelativeT(XSN_Users[i]->path, shortpath);
+ PathToRelativeW(XSN_Users[i]->path, shortpath);
db_set_ws(XSN_Users[i]->hContact, SETTINGSNAME, SETTINGSKEY, shortpath);
}
db_set_b(XSN_Users[i]->hContact, SETTINGSNAME, SETTINGSIGNOREKEY, XSN_Users[i]->ignore);