diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-02 11:05:30 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-02-02 11:05:30 +0000 |
commit | b9e6d6ada8c8cee53991783832a902eecc0e6dce (patch) | |
tree | 13d7829cf038804362104a85662f00214d4ba3c1 /plugins/SplashScreen/src/services.cpp | |
parent | 0f9387748ee875676bda8c9177350613384f8450 (diff) |
fixed menu item
fixed openfile dialog filter translation
git-svn-id: http://svn.miranda-ng.org/main/trunk@3393 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SplashScreen/src/services.cpp')
-rw-r--r-- | plugins/SplashScreen/src/services.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/SplashScreen/src/services.cpp b/plugins/SplashScreen/src/services.cpp index f38c8eeb8f..44ee1861b3 100644 --- a/plugins/SplashScreen/src/services.cpp +++ b/plugins/SplashScreen/src/services.cpp @@ -50,7 +50,9 @@ INT_PTR TestService(WPARAM wParam,LPARAM lParam) OPENFILENAME ofn={0};
ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400;
- ofn.lpstrFilter = _T("PNG and BMP files\0*.png;*.bmp\0\0");
+ TCHAR tmp[MAX_PATH];
+ mir_sntprintf(tmp, SIZEOF(tmp), _T("%s (*.png, *.bmp)%c*.png;*.bmp%c%c"), TranslateT("Graphic files"), 0, 0, 0);
+ ofn.lpstrFilter = tmp;
ofn.hwndOwner=0;
ofn.lpstrFile = szTempPath;
ofn.nMaxFile = MAX_PATH;
|