From e221f73e4a254a59f9c95460827dafb5b6b7e5df Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 12:35:28 +0000 Subject: KeyboardNotify Unicode git-svn-id: http://svn.miranda-ng.org/main/trunk@259 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/KeyboardNotify/utils.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/KeyboardNotify/utils.c') 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; } -- cgit v1.2.3