[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);
|
infd = open(infiles[i], O_RDONLY);
|
||||||
while((bytes = read(infd, buf, BLOCKSIZE))) {
|
while((bytes = read(infd, buf, BLOCKSIZE))) {
|
||||||
#else
|
#else
|
||||||
nf = fopen(infiles[i], "rb");
|
inf = fopen(infiles[i], "rb");
|
||||||
while((bytes = fread(buf, 1, BLOCKSIZE, inf))) {
|
while((bytes = fread(buf, 1, BLOCKSIZE, inf))) {
|
||||||
#endif
|
#endif
|
||||||
WRITE(buf, bytes); // Data.
|
WRITE(buf, bytes); // Data.
|
||||||
|
Loading…
Reference in New Issue
Block a user