shithub: cstory

Download patch

ref: f81fd7b1cde3fe79b9e85ab93615be0000d813f9
parent: 8eecbaff3cde7b4649caecd15f48fac5d0f98a69
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sat Feb 9 17:52:47 EST 2019

Fixed Japanese text

--- a/src/Font.cpp
+++ b/src/Font.cpp
@@ -58,7 +58,7 @@
 		case 3:
 		case 4:
 			length = zero_bit;
-			charcode = (string[0] & (1 << (8 - zero_bit))) - 1;
+			charcode = string[0] & ((1 << (8 - zero_bit))) - 1;
 
 			for (unsigned int i = 1; i < zero_bit; ++i)
 			{