Skip to content

Commit 92386a0

Browse files
ejaquayejaquay
authored andcommitted
Initial Load cassette filter contain both .CAS and .WAV files
1 parent b3e5e64 commit 92386a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cassette.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,8 +444,8 @@ unsigned int LoadTape(void)
444444
ofn.hwndOwner = NULL;
445445
ofn.Flags = OFN_HIDEREADONLY | OFN_NOTESTFILECREATE;
446446
ofn.hInstance = GetModuleHandle(0);
447-
ofn.lpstrDefExt ="";
448-
ofn.lpstrFilter = "Cassette Files (*.cas)\0*.cas\0Wave Files (*.wav)\0*.wav\0\0";
447+
ofn.lpstrDefExt = "";
448+
ofn.lpstrFilter = "Cassette Files (.cas,.wav)\0*.cas;*.wav\0\0";
449449
ofn.nFilterIndex = 0 ; // current filter index
450450
ofn.lpstrFile = TapeFileName; // contains full path and filename on return
451451
ofn.nMaxFile = MAX_PATH; // sizeof lpstrFile

0 commit comments

Comments
 (0)