From e43111d7a6808e5898bbec3dfdd536ae72ea98f4 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 18 Aug 2018 01:01:04 +0100 Subject: [PATCH] fontexpand: fix the bug Now the fonts look right --- Kernel/tools/fontexpand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/tools/fontexpand.c b/Kernel/tools/fontexpand.c index 848a27fe..1edf4882 100644 --- a/Kernel/tools/fontexpand.c +++ b/Kernel/tools/fontexpand.c @@ -12,10 +12,10 @@ uint16_t widen(uint8_t n) uint16_t r = 0; /* We don't need performance so do the simple way */ for (i = 0; i < 8; i++) { + r <<= 2; if (n & 0x80) r |= 0x03; n <<= 1; - r <<= 2; } return r; } -- 2.34.1