Fix a comparison, from Ben Boeckel, and a crash when opening completion

menu, from Anindya Mukherjee.
This commit is contained in:
nicm
2021-11-01 07:48:04 +00:00
parent 4acad43013
commit 4fe5aa99fb
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}