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);