- change getRenderWidth() default to UTF8

This commit is contained in:
svenhoefer
2014-06-11 11:48:59 +02:00
parent bec2e87412
commit 8b91cda918
35 changed files with 127 additions and 128 deletions

View File

@@ -327,7 +327,7 @@ int Font::getMaxDigitWidth(void)
b[1] = 0;
for (char c = '0'; c <= '9'; c++) {
*b = c;
int w = getRenderWidth(b, true);
int w = getRenderWidth(b);
if (w > maxdigitwidth)
maxdigitwidth = w;
}