From 485e9bb12bf5dda318ac0ccbf1d2a1cd86cf8c70 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 5 Nov 2018 01:09:30 +0300 Subject: Fix code style. --- src/gui/fonts/font.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/fonts') diff --git a/src/gui/fonts/font.cpp b/src/gui/fonts/font.cpp index e7a69225b..9d09d7855 100644 --- a/src/gui/fonts/font.cpp +++ b/src/gui/fonts/font.cpp @@ -351,7 +351,8 @@ int Font::getWidth(const std::string &text) const } // if string was not drawed - int w, h; + int w; + int h; getSafeUtf8String(text, strBuf); TTF_SizeUTF8(mFont, strBuf, &w, &h); return w; -- cgit v1.2.3-70-g09d2