summaryrefslogtreecommitdiff
path: root/src/ui/color.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/color.c')
-rw-r--r--src/ui/color.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/color.c b/src/ui/color.c
index 79606cd0..d6d68816 100644
--- a/src/ui/color.c
+++ b/src/ui/color.c
@@ -462,6 +462,7 @@ const char *escape_Color(int color) {
462 if (color >= 0 && color < (int) iElemCount(esc)) { 462 if (color >= 0 && color < (int) iElemCount(esc)) {
463 return esc[color]; 463 return esc[color];
464 } 464 }
465 /* TODO: Conflict with format strings! "%" (37) may be used as the color value. */
465 /* Double-\r is used for range extension. */ 466 /* Double-\r is used for range extension. */
466 if (color + asciiBase_ColorEscape > 127) { 467 if (color + asciiBase_ColorEscape > 127) {
467 iAssert(color - asciiExtended_ColorEscape + asciiBase_ColorEscape <= 127); 468 iAssert(color - asciiExtended_ColorEscape + asciiBase_ColorEscape <= 127);