mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +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
|
||||
//
|
||||
// Writes a .zip/pk3 file. If deflateInit fails, then ".gz" the gzip
|
||||
// argument will be false, otherwise it will be set true. A HANDLE to the
|
||||
// file is returned. This file is delete-on-close.
|
||||
// Writes a .zip/pk3 file. A HANDLE to the file is returned. This file is
|
||||
// delete-on-close.
|
||||
//
|
||||
// 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];
|
||||
|
||||
ofn.lpstrFilter = "Zip file (*.pk3)\0*.pk3\0";
|
||||
strcpy (filename, "CrashReport.pk3");
|
||||
ofn.lpstrFilter = "Zip file (*.zip)\0*.zip\0";
|
||||
strcpy (filename, "CrashReport.zip");
|
||||
ofn.lpstrFile = filename;
|
||||
ofn.nMaxFile = sizeof(filename);
|
||||
|
||||
|
|
Loading…
Reference in a new issue