mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
- change getRenderWidth() default to UTF8
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user