[mw-devel] [Git][milliways/mw][master] Fix upper case hex decoding
Alice Mitchell
alice at sucs.org
Mon Apr 1 09:43:08 BST 2019
Alice Mitchell pushed to branch master at milliways / mw
Commits:
33d69a7e by Alice Mitchell at 2019-04-01T08:42:55Z
Fix upper case hex decoding
- - - - -
1 changed file:
- src/client/colour.c
Changes:
=====================================
src/client/colour.c
=====================================
@@ -43,7 +43,7 @@ static int hex_decode(const char *input, int len)
total |= (*input - 'a') + 10;
else
if (*input >= 'A' && *input <= 'F')
- total |= (*input - 'a') + 10;
+ total |= (*input - 'A') + 10;
input++;
i++;
}
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/33d69a7eb679c37f5357c1ea8281bdb96f37bbc5
--
View it on GitLab: https://projects.sucs.org/milliways/mw/commit/33d69a7eb679c37f5357c1ea8281bdb96f37bbc5
You're receiving this email because of your account on projects.sucs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sucs.org/pipermail/mw-devel/attachments/20190401/9944cf6a/attachment.html>
More information about the mw-devel
mailing list