summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SplashScreen')
-rw-r--r--plugins/SplashScreen/src/main.cpp2
-rw-r--r--plugins/SplashScreen/src/services.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp
index 4aeeb26813..4a18a103c1 100644
--- a/plugins/SplashScreen/src/main.cpp
+++ b/plugins/SplashScreen/src/main.cpp
@@ -338,7 +338,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
mi.hIcon = LoadSkinnedIcon(SKINICON_OTHER_MIRANDA);
mi.hotKey = 0;
mi.position = -0x7FFFFFFF;
- mi.pszName = LPGEN("Call Splash Service");
+ mi.ptszName = LPGENT("Call Splash Service");
mi.pszService = "Splash/Test";
Menu_AddMainMenuItem(&mi);
#endif
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;