Correct style in Font.cpp

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>
This commit is contained in:
Gabriel Ravier 2019-05-14 08:24:52 +02:00
parent 12c633a64a
commit 45fb8940af
No known key found for this signature in database
GPG key ID: 1E75F156884F3DCE

View file

@ -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)
{