about summary refs log tree commit diff stats
path: root/src/img/painter.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/img/painter.nim')
-rw-r--r--src/img/painter.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/img/painter.nim b/src/img/painter.nim
index d02f3602..4e8d1f72 100644
--- a/src/img/painter.nim
+++ b/src/img/painter.nim
@@ -151,7 +151,7 @@ proc getCharBmp(u: uint32): Bitmap =
   let gx = uint64(32 + 16 * (u mod 0x100))
   let gy = uint64(64 + 16 * (u div 0x100))
   var fullwidth = false
-  const white = rgba(255, 255, 255, 255)
+  const white = rgba_be(255, 255, 255, 255)
   block loop:
     # hack to recognize full width characters
     for y in 0 ..< 16u64: