summaryrefslogtreecommitdiff
path: root/draw/archport.c
diff options
context:
space:
mode:
Diffstat (limited to 'draw/archport.c')
-rw-r--r--draw/archport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/draw/archport.c b/draw/archport.c
index 337ad3c1..a4601328 100644
--- a/draw/archport.c
+++ b/draw/archport.c
@@ -83,8 +83,8 @@ text_w4i1o4_32bit(byte * restrict rgba,
{
unsigned int *dst32 = (unsigned int *)(void *)dst;
unsigned int alpha = rgba[3];
- unsigned int rb = rgba[1] | (rgba[2] << 16);
- unsigned int ga = rgba[2] | 0xFF0000;
+ unsigned int rb = rgba[0] | (rgba[2] << 16);
+ unsigned int ga = rgba[1] | 0xFF0000;
if (alpha == 0)
return;