diff options
author | nicm <nicm> | 2021-11-01 07:48:04 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-11-01 07:48:04 +0000 |
commit | 4fe5aa99fb203ddb25089955d8814e1065e11a60 (patch) | |
tree | 46c0f54631ee52b914dd642e091db2a36a65262c /colour.c | |
parent | 4acad43013b7bb5f91103a68cfce591b1980ae17 (diff) |
Fix a comparison, from Ben Boeckel, and a crash when opening completion
menu, from Anindya Mukherjee.
Diffstat (limited to 'colour.c')
-rw-r--r-- | colour.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ colour_force_rgb(int c) return (colour_256toRGB(c)); if (c >= 0 && c <= 7) return (colour_256toRGB(c)); - if (c >= 90 & c <= 97) + if (c >= 90 && c <= 97) return (colour_256toRGB(8 + c - 90)); return (-1); } |