fix text_freeFontCache prototype

This commit is contained in:
2023-01-20 21:52:54 +01:00
parent abc59e4fb7
commit efdbc0c6fb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ typedef struct FontCacheObject {
FontCacheObject_t fontCache[FONT_CACHE_SIZE];
unsigned fontCacheSize = 0;
void text_freeFontCache(){
void text_freeFontCache(void){
for(unsigned i = 0; i < fontCacheSize; ++i){
free(fontCache[i].file);
TTF_CloseFont(fontCache[i].font);