summaryrefslogtreecommitdiffhomepage
path: root/src/rtext.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-02-13 10:47:19 +0100
committerRay <[email protected]>2022-02-13 10:47:19 +0100
commit4bc6e0d7de105820e2dbddb6e134539aa781ca86 (patch)
treeaa9414e69ee65d96d21ba71559094ad29997df00 /src/rtext.c
parent9cf170e6e91670eade739c1cffefe8e1ea24980b (diff)
downloadraylib-4bc6e0d7de105820e2dbddb6e134539aa781ca86.tar.gz
raylib-4bc6e0d7de105820e2dbddb6e134539aa781ca86.zip
Update rtext.c
Diffstat (limited to 'src/rtext.c')
-rw-r--r--src/rtext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtext.c b/src/rtext.c
index f07b8804..a62f0d83 100644
--- a/src/rtext.c
+++ b/src/rtext.c
@@ -960,7 +960,7 @@ bool ExportFontAsCode(Font font, const char *fileName)
byteCount += sprintf(txtData + byteCount, " font.glyphs = fontGlyphs_%s;\n\n", fileNamePascal);
#endif
byteCount += sprintf(txtData + byteCount, " return font;\n");
- byteCount += sprintf(txtData + byteCount, "}\n\0");
+ byteCount += sprintf(txtData + byteCount, "}\n");
UnloadImage(image);