From 808df2b720842d75bf88b84d9a68bf47429ef566 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Wed, 8 May 2019 08:37:58 +0200 Subject: [PATCH] Added a newline for a weird for and added a space after a comment in Font.cpp Signed-off-by: Gabriel Ravier --- src/Font.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Font.cpp b/src/Font.cpp index 915cd499..69f342c4 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -14,7 +14,7 @@ #include "File.h" // Uncomment for that authentic pre-Windows Vista feel -//#define DISABLE_FONT_ANTIALIASING +// #define DISABLE_FONT_ANTIALIASING #undef MIN #undef MAX @@ -1655,7 +1655,8 @@ static unsigned long UTF8ToUnicode(const unsigned char *string, unsigned int *by unsigned long charcode; unsigned int zero_bit = 0; - for (unsigned char lead_byte = string[0]; zero_bit < 5 && (lead_byte & 0x80); ++zero_bit, lead_byte <<= 1); + for (unsigned char lead_byte = string[0]; zero_bit < 5 && (lead_byte & 0x80); ++zero_bit, lead_byte <<= 1) + ; switch (zero_bit) {