From 7d9d0a277211d81e50a5dcb9ec4357ca412612e1 Mon Sep 17 00:00:00 2001 From: Stephen Molloy Date: Thu, 28 Dec 2023 00:38:55 +0100 Subject: [PATCH] Removed a feature I never should have added --- src/rtext.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/rtext.c b/src/rtext.c index 8012b2a0d..e21cb612a 100644 --- a/src/rtext.c +++ b/src/rtext.c @@ -379,14 +379,8 @@ Font LoadFontEx(const char *fileName, int fontSize, int *codepoints, int codepoi } // Reload the font after adding the new characters to the list of desired characters -// Passing NULL to the newChars variable results in a reset to the default of LoadFontEx void AddNewCharsToFontEx(Font *font, const char *fileName, int fontSize, char *newChars) { - if (newChars == NULL) { - *font = LoadFontEx(fileName, fontSize, NULL, 0); - return; - } - int codepointCount = 0; int *codepoints = LoadCodepoints(newChars, &codepointCount);