diff options
Diffstat (limited to 'plugins/KeyboardNotify/utils.c')
-rw-r--r-- | plugins/KeyboardNotify/utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/KeyboardNotify/utils.c b/plugins/KeyboardNotify/utils.c index 1307fbe570..9c710ba217 100644 --- a/plugins/KeyboardNotify/utils.c +++ b/plugins/KeyboardNotify/utils.c @@ -39,14 +39,14 @@ char *fmtDBSettingName(const char *fmt, ...) }
-char *getAbsoluteProfileName(char *absoluteProfileName, size_t maxLen)
+TCHAR *getAbsoluteProfileName(TCHAR *absoluteProfileName, size_t maxLen)
{
- char profilePath[MAX_PATH+1], profileName[MAX_PATH+1];
+ TCHAR profilePath[MAX_PATH+1], profileName[MAX_PATH+1];
- profilePath[0] = profileName[0] = '\0';
+ profilePath[0] = profileName[0] = L'\0';
CallService(MS_DB_GETPROFILEPATH, MAX_PATH, (LPARAM)profilePath);
CallService(MS_DB_GETPROFILENAME, MAX_PATH, (LPARAM)profileName);
- mir_snprintf(absoluteProfileName, maxLen, "%s\\%s", profilePath, profileName);
+ _snwprintf(absoluteProfileName, maxLen, L"%s\\%s", profilePath, profileName);
return absoluteProfileName;
}
|