Last commit was incomplete.

SVN r218 (trunk)
This commit is contained in:
Randy Heit 2006-06-24 03:48:38 +00:00
parent 27ff97f16e
commit 2d05cdbda4

View file

@ -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);