Browse Source

Tabs to spaces

pull/766/head
Skabunkel 5 years ago
parent
commit
374b4d3faf
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/text.c

+ 2
- 2
src/text.c View File

@ -684,9 +684,9 @@ void UnloadFont(Font font)
// NOTE: Make sure spriteFont is not default font (fallback)
if (font.texture.id != GetFontDefault().texture.id)
{
for (int i = 0; i < font.charsCount; i++)
for (int i = 0; i < font.charsCount; i++)
{
free(font.chars[i].data);
free(font.chars[i].data);
}
UnloadTexture(font.texture);
free(font.chars);

Loading…
Cancel
Save