mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
and some more
This commit is contained in:
parent
4e54c4c5ac
commit
bcd28f5e77
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
Structs for pack files on disk
|
||||
*/
|
||||
|
||||
#define PAK_PATH_LENGTH
|
||||
#define PAK_PATH_LENGTH 56
|
||||
|
||||
typedef struct {
|
||||
char name[PAK_PATH_LENGTH];
|
||||
|
@ -79,7 +79,7 @@ open_pack (const char *name)
|
|||
goto error;
|
||||
}
|
||||
pack->files = malloc (numpackfiles * sizeof (packfile_t));
|
||||
if (!pack->files)
|
||||
if (!pack->files) {
|
||||
fprintf (stderr, "out of memory\n");
|
||||
goto error;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue