diff options
| author | Ray <raysan5@gmail.com> | 2019-02-28 18:36:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-28 18:36:13 +0100 |
| commit | 5735f13fe54ba1170005e3973c95728d7b29ac89 (patch) | |
| tree | 7c678be564c18467e6b04285c2e14f231f4c02cd /src | |
| parent | b570b32337cd08ca3cf6eece683d2e23171bcbd5 (diff) | |
| parent | a90c9c5ade55684cfd46b18f91edeb9208d1f7d7 (diff) | |
| download | raylib-5735f13fe54ba1170005e3973c95728d7b29ac89.tar.gz raylib-5735f13fe54ba1170005e3973c95728d7b29ac89.zip | |
Merge pull request #773 from Skabunkel/master
Removed unnecessary if
Diffstat (limited to 'src')
| -rw-r--r-- | src/text.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -688,8 +688,7 @@ void UnloadFont(Font font) { for (int i = 0; i < font.charsCount; i++) { - if(font.chars[i].data != NULL) - free(font.chars[i].data); + free(font.chars[i].data); } UnloadTexture(font.texture); free(font.chars); |
