shithub: cstory

Download patch

ref: 808df2b720842d75bf88b84d9a68bf47429ef566
parent: 71015da19b825a3ab3b5db431f737b3fd2e97565
author: Gabriel Ravier <gabravier@gmail.com>
date: Wed May 8 04:37:58 EDT 2019

Added a newline for a weird for and added a space after a comment in Font.cpp

Signed-off-by: Gabriel Ravier <gabravier@gmail.com>

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