Alpha of 0xff resulted in RGB_8TO16(0xff) == 0x10000. This was cast to uint8_t which resulted in alpha being set to 0. Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Uli Schlachter <psychon@znc.in>