xC: fix displaying IRC colours above 16

First, we indexed the colour array without a required offset.
Second, the data type was too small and overflowed negative.

Detected during a refactor, which this is a part of.
This commit is contained in:
2021-08-28 17:51:58 +02:00
parent b8dbc70a9c
commit b082e82b62
2 changed files with 27 additions and 39 deletions

2
NEWS
View File

@@ -2,6 +2,8 @@
* xC: made message autosplitting respect text formatting
* xC: fixed displaying IRC colours above 16
1.3.0 (2021-08-07) "New World Order"