summaryrefslogtreecommitdiff
path: root/plugins/NotifyAnything/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NotifyAnything/src')
-rw-r--r--plugins/NotifyAnything/src/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NotifyAnything/src/options.cpp b/plugins/NotifyAnything/src/options.cpp
index 1cd464447b..84929e4c7e 100644
--- a/plugins/NotifyAnything/src/options.cpp
+++ b/plugins/NotifyAnything/src/options.cpp
@@ -71,7 +71,7 @@ INT_PTR CALLBACK DlgProcOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara
ofn.Flags = OFN_PATHMUSTEXIST | OFN_HIDEREADONLY;
ofn.lpstrDefExt = L"log";
if (GetOpenFileName(&ofn)) {
- PathToRelativeT(szTemp, szTemp1);
+ PathToRelativeW(szTemp, szTemp1);
SetDlgItemText(hwndDlg, NA_LOG_FILENAME, szTemp1);
SendMessage(GetParent(hwndDlg), PSM_CHANGED, (WPARAM)hwndDlg, 0);
}