summaryrefslogtreecommitdiff
path: root/plugins/AutoRun/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AutoRun/src/main.cpp')
-rw-r--r--plugins/AutoRun/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp
index eeddd928e3..e3b4da8e32 100644
--- a/plugins/AutoRun/src/main.cpp
+++ b/plugins/AutoRun/src/main.cpp
@@ -70,7 +70,7 @@ static BOOL CmpCurrentAndRegistry()
return FALSE;
GetProfilePath(result, SIZEOF(result));
- return lstrcmpi(result, dbpath) == 0;
+ return mir_tstrcmpi(result, dbpath) == 0;
}
static INT_PTR CALLBACK DlgProcAutorunOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)