diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-22 17:10:39 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2013-01-22 17:10:39 +0000 |
commit | e1b2602b836a315e10a3ebbc118da5ca4ed1d388 (patch) | |
tree | 87d27f5de1dea8e54647234719fc684629d06690 /plugins/SecureIM/src | |
parent | 8eb630a6605fed621fd7acd5b0cafa4143149aa8 (diff) |
- SecureIM: unicode fix (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3233 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM/src')
-rw-r--r-- | plugins/SecureIM/src/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/SecureIM/src/options.cpp b/plugins/SecureIM/src/options.cpp index a00fd70251..0d0e422c4b 100644 --- a/plugins/SecureIM/src/options.cpp +++ b/plugins/SecureIM/src/options.cpp @@ -1783,7 +1783,7 @@ BOOL ShowSelectKeyDlg(HWND hParent, LPSTR KeyPath) ofn.lpstrFile = KeyPath;
TCHAR temp[MAX_PATH] = _T("");
- mir_sntprintf(temp, sizeof(temp),"%s\0*.asc\0%s(*.*)\0*.*\0",Translate("ASC files"),Translate("All files "));
+ mir_sntprintf(temp, sizeof(temp), _T("%s\0*.asc\0%s(*.*)\0*.*\0"), TranslateT("ASC files"), TranslateT("All files "));
ofn.lpstrFilter = temp;
ofn.lpstrTitle = TranslateT("Open Key File");
if (!GetOpenFileName(&ofn)) return FALSE;
@@ -1854,7 +1854,7 @@ BOOL SaveExportRSAKeyDlg(HWND hParent, LPSTR key, BOOL priv) ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_NONETWORKBUTTON;
ofn.lpstrFile = szFile;
TCHAR temp[MAX_PATH] = _T("");
- mir_sntprintf(temp, sizeof(temp),"%s\0*.asc\0%s(*.*)\0*.*\0",Translate("ASC files"),Translate("All files "));
+ mir_sntprintf(temp, sizeof(temp), _T("%s\0*.asc\0%s(*.*)\0*.*\0"), TranslateT("ASC files"), TranslateT("All files "));
ofn.lpstrFilter = temp;
ofn.lpstrTitle = (priv) ? TranslateT("Save Private Key File") : TranslateT("Save Public Key File");
if (!GetSaveFileName(&ofn)) return FALSE;
@@ -1880,7 +1880,7 @@ BOOL LoadImportRSAKeyDlg(HWND hParent, LPSTR key, BOOL priv) ofn.Flags = OFN_EXPLORER | OFN_CREATEPROMPT | OFN_OVERWRITEPROMPT | OFN_NOREADONLYRETURN;
ofn.lpstrFile = szFile;
TCHAR temp[MAX_PATH] = _T("");
- mir_sntprintf(temp, sizeof(temp),"%s\0*.asc\0%s(*.*)\0*.*\0",Translate("ASC files"),Translate("All files "));
+ mir_sntprintf(temp, sizeof(temp), _T("%s\0*.asc\0%s(*.*)\0*.*\0"), TranslateT("ASC files"), TranslateT("All files "));
ofn.lpstrFilter = temp;
ofn.lpstrTitle = (priv) ? TranslateT("Load Private Key File") : TranslateT("Load Public Key File");
if (!GetOpenFileName(&ofn)) return FALSE;
|