summaryrefslogtreecommitdiff
path: root/gflib/text.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-03-29 18:53:26 -0400
committerGitHub <noreply@github.com>2021-03-29 18:53:26 -0400
commite8b6b4b65e3b53f5fcf83035b9f848c5ef6378bd (patch)
treef4b2b95ab5817efe5fda675741a6dfb9c40d1275 /gflib/text.c
parentc40fb9288cf02f2cba1b72c7377d6272a0eef6f2 (diff)
parent102582a3dff87769379acca9d50fe29f6f41d337 (diff)
Merge pull request #1383 from Kurausukun/fr_doc
Port Some Documentation from FR
Diffstat (limited to 'gflib/text.c')
-rw-r--r--gflib/text.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gflib/text.c b/gflib/text.c
index d75be2fbf..e456a695d 100644
--- a/gflib/text.c
+++ b/gflib/text.c
@@ -1398,8 +1398,7 @@ s32 GetStringWidth(u8 fontId, const u8 *str, s16 letterSpacing)
if (lineWidth > width)
return lineWidth;
- else
- return width;
+ return width;
}
u8 RenderTextFont9(u8 *pixels, u8 fontId, u8 *str)