From 80e3d25147e1aa205fc67aa83be79925256b5daa Mon Sep 17 00:00:00 2001 From: IoI_xD Date: Mon, 20 Jul 2026 23:39:02 -0700 Subject: [PATCH] gdi text loading should be loading the right functions Oops --- src/text/gdi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/text/gdi.c b/src/text/gdi.c index e0f19bf..b764353 100644 --- a/src/text/gdi.c +++ b/src/text/gdi.c @@ -248,11 +248,11 @@ int MwFL_GDISetup(void) { if(!gdilib) { printf("gdi32.dll not found(?????)\n"); } else { - _AddFontMemResourceEx = (void*)GetProcAddress(gdilib, "_AddFontMemResourceEx"); + _AddFontMemResourceEx = (void*)GetProcAddress(gdilib, "AddFontMemResourceEx"); if(!_AddFontMemResourceEx) { _AddFontMemResourceEx = _AddFontMemResourceExPolyFill; } - _RemoveFontMemResourceEx = (void*)GetProcAddress(gdilib, "_RemoveFontMemResourceEx"); + _RemoveFontMemResourceEx = (void*)GetProcAddress(gdilib, "RemoveFontMemResourceEx"); if(!_RemoveFontMemResourceEx) { _RemoveFontMemResourceEx = _RemoveFontMemResourceExPolyFill; }