aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Font/TextureFont.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/Font/TextureFont.cpp')
-rw-r--r--src/libjin/Graphics/Font/TextureFont.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libjin/Graphics/Font/TextureFont.cpp b/src/libjin/Graphics/Font/TextureFont.cpp
index 7ee1962..a1f2b27 100644
--- a/src/libjin/Graphics/Font/TextureFont.cpp
+++ b/src/libjin/Graphics/Font/TextureFont.cpp
@@ -70,8 +70,7 @@ namespace graphics
for (Codepoint c : text)
{
- if (c == 0x0D)
- continue;
+ if (c == 0x0D) continue;
if (c == 0x0A)
{
/* new line */
@@ -80,8 +79,7 @@ namespace graphics
continue;
}
glyph = findGlyph(c);
- if (glyph == nullptr)
- continue;
+ if (glyph == nullptr) continue;
if (texture != this->texture)
{
texture = this->texture;