diff options
Diffstat (limited to 'plugins/AutoRun/src/main.cpp')
| -rw-r--r-- | plugins/AutoRun/src/main.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
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, '.');
  | 
