From 07af166d2fe7ffb3994a64eacee14d674dbe6874 Mon Sep 17 00:00:00 2001 From: Jasmine Iwanek Date: Tue, 26 Sep 2023 04:51:59 -0400 Subject: [PATCH] Fix a build error on haiku in ini.c --- src/ini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ini.c b/src/ini.c index 604c3d5eb..35c7504eb 100644 --- a/src/ini.c +++ b/src/ini.c @@ -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