Fix a build error on haiku in ini.c

This commit is contained in:
Jasmine Iwanek
2023-09-26 04:51:59 -04:00
committed by GitHub
parent fafb0dd0f5
commit 07af166d2f

View File

@@ -348,7 +348,7 @@ ini_read(const char *fn)
while (1) {
memset(buff, 0x00, sizeof(buff));
#ifdef __HAIKU__
ini_fgetws(buff, sizeof_w(buff), f);
ini_fgetws(buff, sizeof_w(buff), fp);
#else
(void) !fgetws(buff, sizeof_w(buff), fp);
#endif