about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedsdl2ttf.c
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-05-09 20:11:03 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-05-09 20:11:03 +0200
commitb1b558d244c58af6a5c56acdd0307533b51cc85c (patch)
treebd80e92ee4315f952973e87839491b53a852fcc3 /src/wrapped/wrappedsdl2ttf.c
parent6ef734960abfb83501cf2236ae41624c0375f570 (diff)
downloadbox64-b1b558d244c58af6a5c56acdd0307533b51cc85c.tar.gz
box64-b1b558d244c58af6a5c56acdd0307533b51cc85c.zip
Small change to avoid wlib_t declaration in wrappedlibs.h (from box86)
Diffstat (limited to 'src/wrapped/wrappedsdl2ttf.c')
-rwxr-xr-xsrc/wrapped/wrappedsdl2ttf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wrapped/wrappedsdl2ttf.c b/src/wrapped/wrappedsdl2ttf.c
index ff1afeb8..b0075b37 100755
--- a/src/wrapped/wrappedsdl2ttf.c
+++ b/src/wrapped/wrappedsdl2ttf.c
@@ -45,7 +45,7 @@ void EXPORT *my2_TTF_OpenFontRW(x64emu_t* emu, void* a, int32_t b, int32_t c)
 #define CUSTOM_INIT                     \
     SETALT(my2_);                       \
     getMy(lib);                         \
-    setNeededLibs(&lib->priv.w, 1, "libSDL2-2.0.so.0");
+    setNeededLibs(lib, 1, "libSDL2-2.0.so.0");
 
 #define CUSTOM_FINI                     \
     freeMy();