diff options
author | George Hazan <ghazan@miranda.im> | 2022-08-30 19:38:29 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-08-30 19:38:29 +0300 |
commit | bdb212f7df40e0cb8958583ce72d2d4a45076917 (patch) | |
tree | 80ddfde0b602b709ce283e3707c81fad2dc1e7d8 | |
parent | 74c4204bae787f2f853dd00c380d1e1b308a501e (diff) |
fix for the sound files` filter
-rw-r--r-- | src/mir_app/src/sounds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/sounds.cpp b/src/mir_app/src/sounds.cpp index 9d6d7a0a78..964e397f88 100644 --- a/src/mir_app/src/sounds.cpp +++ b/src/mir_app/src/sounds.cpp @@ -236,9 +236,9 @@ public: OPENFILENAME ofn;
memset(&ofn, 0, sizeof(ofn));
if (GetModuleHandle(L"bass_interface.dll"))
- mir_snwprintf(filter, L"%s (*.wav, *.mp3, *.ogg)%c*.wav;*.mp3;*.ogg%c%s (*)%c*%c", TranslateT("Sound files"), 0, 0, TranslateT("All files"), 0, 0);
+ mir_snwprintf(filter, L"%s (*.wav,*.mp3,*.ogg)%c*.wav;*.mp3;*.ogg%c%s (*)%c*%c", TranslateT("Sound files"), 0, 0, TranslateT("All files"), 0, 0);
else
- mir_snwprintf(filter, L"%s (*.wav)%c*.wav%c%s (*)%c*%c", TranslateT("WAV files"), 0, 0, TranslateT("All files"), 0, 0);
+ mir_snwprintf(filter, L"%s (*.wav,*.mp3)%c*.wav;*.mp3%c%s (*)%c*%c", TranslateT("Sound files"), 0, 0, TranslateT("All files"), 0, 0);
ofn.lStructSize = OPENFILENAME_SIZE_VERSION_400;
ofn.hwndOwner = GetParent(m_hwnd);
ofn.hInstance = nullptr;
|