Unverified Commit 30b96ef4 authored by PhoeniX's avatar PhoeniX

Fix framebuffer characters 128..255

parent 2bd31816
Pipeline #1849 passed with stages
in 33 seconds
......@@ -87,7 +87,7 @@ class FramebufferDisplay: public Display {
} else if (c == '\t') {
offset += 8 - ((offset % charWidth()) % 8);
} else {
const uint8_t *fontsym = fb_font_8x16 + (size_t(c) * 16);
const uint8_t *fontsym = fb_font_8x16 + (size_t(uint8_t(c)) * 16);
size_t offsetX = offset % charWidth();
size_t offsetY = offset / charWidth();
size_t pb = pixelBytes();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment