From 0c20db8d108c4123fcc3ecb343759e68567a4d4e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Nov 2018 00:51:57 +0300 Subject: Remove extra ; from different code. --- src/gui/fonts/font.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/fonts/font.cpp') diff --git a/src/gui/fonts/font.cpp b/src/gui/fonts/font.cpp index 9d09d7855..5ce6b88d0 100644 --- a/src/gui/fonts/font.cpp +++ b/src/gui/fonts/font.cpp @@ -124,7 +124,7 @@ Font::Font(std::string filename, { reportAlways("Error: requested load font %s with size %d", filename.c_str(), - size); + size) size = 4; } @@ -151,7 +151,7 @@ Font::Font(std::string filename, { #ifdef UNITTESTS reportAlways("Font load failed %s", - filename.c_str()); + filename.c_str()) #endif // UNITTESTS logger->error("Font::Font: " + std::string(SDL_GetError())); @@ -205,7 +205,7 @@ TTF_Font *Font::openFont(const char *const name, #ifndef UNITTESTS // +++ in future need trigger assert in unit tests here too reportAlways("Font::openFont font not exists: %s", - path.c_str()); + path.c_str()) #endif // UNITTESTS return nullptr; } @@ -489,7 +489,7 @@ void Font::insertChunk(TextChunk *const chunk) chunk->color, chunk->color2)); if (i != search.end()) { - delete2(chunk->img); + delete2(chunk->img) return; } -- cgit v1.2.3-60-g2f50