summaryrefslogtreecommitdiff
path: root/plugins/SecureIM
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-26 10:42:42 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-26 10:42:42 +0000
commita2f03f00084cbe9021b6089aa6b585f53a71729d (patch)
treefc6c8e2ba139e1cbddb69da5170427c0dcbb44ed /plugins/SecureIM
parent301ab5ea87ccf7dad52ab199413a47f93962ac06 (diff)
fixed openfile filters
git-svn-id: http://svn.miranda-ng.org/main/trunk@3290 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SecureIM')
-rw-r--r--plugins/SecureIM/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/options.cpp b/plugins/SecureIM/src/options.cpp
index c344e7c8a9..bd49d80439 100644
--- a/plugins/SecureIM/src/options.cpp
+++ b/plugins/SecureIM/src/options.cpp
@@ -933,7 +933,7 @@ INT_PTR CALLBACK DlgProcOptionsGPG(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM l
GetDlgItemText(hDlg, IDC_GPGEXECUTABLE_EDIT, gpgexe, sizeof(gpgexe));
// filter zusammensetzen
- mir_sntprintf(filter, SIZEOF(filter), _T("%s (*.exe)%c*.exe%c%c"), Translate("Executable Files"), 0, 0, 0);
+ mir_snprintf(filter, SIZEOF(filter), _T("%s (*.exe)%c*.exe%c%c"), Translate("Executable Files"), 0, 0, 0);
// OPENFILENAME initialisieren
ofn.lStructSize = sizeof(ofn);
@@ -1778,7 +1778,7 @@ BOOL ShowSelectKeyDlg(HWND hParent, LPSTR KeyPath)
ofn.lpstrFile = KeyPath;
char temp[MAX_PATH];
- mir_sntprintf(temp, SIZEOF(temp), _T("%s (*.asc)%c*.asc%c%s (*.*)%c*.*%c%c"), Translate("ASC files"), 0, 0, Translate("All files"), 0, 0, 0);
+ mir_snprintf(temp, SIZEOF(temp), _T("%s (*.asc)%c*.asc%c%s (*.*)%c*.*%c%c"), Translate("ASC files"), 0, 0, Translate("All files"), 0, 0, 0);
ofn.lpstrFilter = temp;
ofn.lpstrTitle = TranslateT("Open Key File");
if (!GetOpenFileName(&ofn)) return FALSE;