From 45fb8940af5c82d41a131c2c1e4cc9e92c9fe6c3 Mon Sep 17 00:00:00 2001 From: Gabriel Ravier Date: Tue, 14 May 2019 08:24:52 +0200 Subject: [PATCH] Correct style in Font.cpp Signed-off-by: Gabriel Ravier --- src/Font.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Font.cpp b/src/Font.cpp index 69f342c4..7e008530 100644 --- a/src/Font.cpp +++ b/src/Font.cpp @@ -1655,8 +1655,7 @@ 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) {