summaryrefslogtreecommitdiff
path: root/plugins/SecureIM
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-01-19 22:43:08 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-01-19 22:43:08 +0000
commit08d8ee4b71da0733cf6123126db73e39d2324058 (patch)
tree6496bfacd5d4d6edfd041134e0a0bdde9516038e /plugins/SecureIM
parentae25df292c5301259632b1b50475154351d4450a (diff)
- Another portion of _T replacement (patch from person)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3188 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM')
-rw-r--r--plugins/SecureIM/src/options.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/SecureIM/src/options.cpp b/plugins/SecureIM/src/options.cpp
index 0bef6112b6..e9c067b978 100644
--- a/plugins/SecureIM/src/options.cpp
+++ b/plugins/SecureIM/src/options.cpp
@@ -1782,8 +1782,8 @@ BOOL ShowSelectKeyDlg(HWND hParent, LPSTR KeyPath)
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_NONETWORKBUTTON;
ofn.lpstrFile = KeyPath;
- ofn.lpstrFilter = _T("ASC files\0*.asc\0All files (*.*)\0*.*\0");
- ofn.lpstrTitle = _T("Open Key File");
+ ofn.lpstrFilter = TranslateT("ASC files\0*.asc\0All files (*.*)\0*.*\0");
+ ofn.lpstrTitle = TranslateT("Open Key File");
if (!GetOpenFileName(&ofn)) return FALSE;
return TRUE;
@@ -1851,8 +1851,8 @@ BOOL SaveExportRSAKeyDlg(HWND hParent, LPSTR key, BOOL priv)
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_EXPLORER | OFN_FILEMUSTEXIST | OFN_NONETWORKBUTTON;
ofn.lpstrFile = szFile;
- ofn.lpstrFilter = _T("ASC files\0*.asc\0All files (*.*)\0*.*\0");
- ofn.lpstrTitle = (priv)?_T("Save Private Key File"):_T("Save Public Key File");
+ ofn.lpstrFilter = TranslateT("ASC files\0*.asc\0All files (*.*)\0*.*\0");
+ ofn.lpstrTitle = (priv) ? TranslateT("Save Private Key File") : TranslateT("Save Public Key File");
if (!GetSaveFileName(&ofn)) return FALSE;
FILE *f=_tfopen(szFile,_T("wb"));
@@ -1875,8 +1875,8 @@ BOOL LoadImportRSAKeyDlg(HWND hParent, LPSTR key, BOOL priv)
ofn.nMaxFile = MAX_PATH;
ofn.Flags = OFN_EXPLORER | OFN_CREATEPROMPT | OFN_OVERWRITEPROMPT | OFN_NOREADONLYRETURN;
ofn.lpstrFile = szFile;
- ofn.lpstrFilter = _T("ASC files\0*.asc\0All files (*.*)\0*.*\0");
- ofn.lpstrTitle = (priv)?_T("Load Private Key File"):_T("Load Public Key File");
+ ofn.lpstrFilter = TranslateT("ASC files\0*.asc\0All files (*.*)\0*.*\0");
+ ofn.lpstrTitle = (priv) ? TranslateT("Load Private Key File") : TranslateT("Load Public Key File");
if (!GetOpenFileName(&ofn)) return FALSE;
FILE *f=_tfopen(szFile,_T("rb"));