From 0fc4b3ad5f2ac8d5c0588f61c0cbed4349ee1430 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 16 Oct 2018 20:18:42 +0800 Subject: *misc --- src/libjin/Graphics/Font/TextureFont.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/libjin/Graphics/Font/TextureFont.cpp') 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; -- cgit v1.1-26-g67d0