mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
Last commit was incomplete.
SVN r218 (trunk)
This commit is contained in:
parent
27ff97f16e
commit
2d05cdbda4
1 changed files with 5 additions and 6 deletions
|
@ -1110,12 +1110,11 @@ static DWORD WriteBlock (HANDLE file, LPCVOID buffer, DWORD bytes, z_stream *str
|
||||||
//
|
//
|
||||||
// WriteZip
|
// WriteZip
|
||||||
//
|
//
|
||||||
// Writes a .zip/pk3 file. If deflateInit fails, then ".gz" the gzip
|
// Writes a .zip/pk3 file. A HANDLE to the file is returned. This file is
|
||||||
// argument will be false, otherwise it will be set true. A HANDLE to the
|
// delete-on-close.
|
||||||
// file is returned. This file is delete-on-close.
|
|
||||||
//
|
//
|
||||||
// The archive contains all the files previously passed to AddFile(). They
|
// The archive contains all the files previously passed to AddFile(). They
|
||||||
// must still be open, because WriteTar() does not open them itself.
|
// must still be open, because MakeZip() does not open them itself.
|
||||||
//
|
//
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
||||||
|
@ -2849,8 +2848,8 @@ static void SaveReport (HANDLE file)
|
||||||
, };
|
, };
|
||||||
char filename[256];
|
char filename[256];
|
||||||
|
|
||||||
ofn.lpstrFilter = "Zip file (*.pk3)\0*.pk3\0";
|
ofn.lpstrFilter = "Zip file (*.zip)\0*.zip\0";
|
||||||
strcpy (filename, "CrashReport.pk3");
|
strcpy (filename, "CrashReport.zip");
|
||||||
ofn.lpstrFile = filename;
|
ofn.lpstrFile = filename;
|
||||||
ofn.nMaxFile = sizeof(filename);
|
ofn.nMaxFile = sizeof(filename);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue