From 428bf0cbd77813a43094cb5c984436deff251936 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 Jul 2016 12:36:34 +0000 Subject: no more TCHARs git-svn-id: http://svn.miranda-ng.org/main/trunk@17143 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AutoRun/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AutoRun/src') diff --git a/plugins/AutoRun/src/main.cpp b/plugins/AutoRun/src/main.cpp index eddc483179..0ec952d756 100644 --- a/plugins/AutoRun/src/main.cpp +++ b/plugins/AutoRun/src/main.cpp @@ -27,7 +27,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID) void GetProfilePath(wchar_t *res, size_t resLen) { wchar_t dbname[MAX_PATH], exename[MAX_PATH]; - CallService(MS_DB_GETPROFILENAMET, _countof(dbname), (LPARAM)dbname); + CallService(MS_DB_GETPROFILENAMEW, _countof(dbname), (LPARAM)dbname); GetModuleFileName(NULL, exename, _countof(exename)); wchar_t *p = wcsrchr(dbname, '.'); -- cgit v1.2.3