mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +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
|
Structs for pack files on disk
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define PAK_PATH_LENGTH
|
#define PAK_PATH_LENGTH 56
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char name[PAK_PATH_LENGTH];
|
char name[PAK_PATH_LENGTH];
|
||||||
|
@ -79,7 +79,7 @@ open_pack (const char *name)
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
pack->files = malloc (numpackfiles * sizeof (packfile_t));
|
pack->files = malloc (numpackfiles * sizeof (packfile_t));
|
||||||
if (!pack->files)
|
if (!pack->files) {
|
||||||
fprintf (stderr, "out of memory\n");
|
fprintf (stderr, "out of memory\n");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue