[NTVDM]: Fix the open-file dialog filter.
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 1 Oct 2015 02:03:31 +0000 (02:03 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 1 Oct 2015 02:03:31 +0000 (02:03 +0000)
svn path=/trunk/; revision=69423

reactos/subsystems/mvdm/ntvdm/emulator.c

index fa55abb..bf23138 100644 (file)
@@ -423,7 +423,7 @@ VOID MountFloppy(IN ULONG DiskNumber)
     ofn.lpstrTitle   = "Select a virtual floppy image";
     ofn.Flags        = OFN_EXPLORER | OFN_ENABLESIZING | OFN_LONGNAMES | OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;
 //  ofn.FlagsEx      = OFN_EX_NOPLACESBAR;
     ofn.lpstrTitle   = "Select a virtual floppy image";
     ofn.Flags        = OFN_EXPLORER | OFN_ENABLESIZING | OFN_LONGNAMES | OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;
 //  ofn.FlagsEx      = OFN_EX_NOPLACESBAR;
-    ofn.lpstrFilter  = "Virtual floppy images (*.vfd;*.img;*.ima;*.dsk)\0*.vfd\0All files (*.*)\0*.*\0";
+    ofn.lpstrFilter  = "Virtual floppy images (*.vfd;*.img;*.ima;*.dsk)\0*.vfd;*.img;*.ima;*.dsk\0All files (*.*)\0*.*\0\0";
     ofn.lpstrDefExt  = "vfd";
     ofn.nFilterIndex = 0;
     ofn.lpstrFile    = szFile;
     ofn.lpstrDefExt  = "vfd";
     ofn.nFilterIndex = 0;
     ofn.lpstrFile    = szFile;