diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 12:35:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 12:35:28 +0000 |
commit | e221f73e4a254a59f9c95460827dafb5b6b7e5df (patch) | |
tree | 46b17567b79894e481ddb35de6ee7af01e55da7f /plugins/KeyboardNotify/utils.c | |
parent | 54e24c4eea6734678915d8c7384f4469f7c78be5 (diff) |
KeyboardNotify Unicode
git-svn-id: http://svn.miranda-ng.org/main/trunk@259 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}
|