diff options
Diffstat (limited to 'gfx.c')
-rw-r--r-- | gfx.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -568,10 +568,8 @@ BoundingRect GetStringBoundingBox(const char *str) case ASCII_BIGFONT: size = FS_LARGE; break; case ASCII_NL: br.height += GetCharacterHeight(size); - if (br.width > max_width) { - max_width = br.width; - br.width = 0; - } + if (br.width > max_width) max_width = br.width; + br.width = 0; break; } } |