[Fix] Typo in non POSIX build of packfile.
This commit is contained in:
parent
867f3cee8d
commit
54758a5de9
@ -197,7 +197,7 @@ int pack_files(const char* outfile, const char** infiles, const uint32_t nfiles)
|
||||
infd = open(infiles[i], O_RDONLY);
|
||||
while((bytes = read(infd, buf, BLOCKSIZE))) {
|
||||
#else
|
||||
nf = fopen(infiles[i], "rb");
|
||||
inf = fopen(infiles[i], "rb");
|
||||
while((bytes = fread(buf, 1, BLOCKSIZE, inf))) {
|
||||
#endif
|
||||
WRITE(buf, bytes); // Data.
|
||||
|
Loading…
Reference in New Issue
Block a user