From e1d4e3bbb5ef949bd9c9686e8e8c717cd7f39c5e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 21 Dec 2024 01:11:21 -0500 Subject: remove unused HL_OVERLONG --- uxd.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/uxd.c b/uxd.c index 9698628..03cd6e8 100644 --- a/uxd.c +++ b/uxd.c @@ -63,13 +63,11 @@ extern int optind; #define CYAN 6 #define WHITE 7 /* don't use (could be the background color) */ -/* highlight types. HL_NORM_INV is only used for the hex bytes, not - the human-readable right column. */ +/* highlight types. */ #define HL_NORMAL 0 #define HL_NORM_INV 1 #define HL_SPECIAL 2 #define HL_BAD 3 -#define HL_OVERLONG 4 /* terminal codes for mono highlighting. */ #define MONO_NORMAL 0 @@ -446,12 +444,6 @@ void append_color(char *buf, int hl_type) { fgcolor = special_color; bgcolor = 0; break; - case HL_OVERLONG: - /* don't use a separate color for this any more - fgcolor = 0; - bgcolor = special_color; - break; - */ case HL_BAD: default: fgcolor = 0; @@ -482,7 +474,6 @@ void append_mono(char *buf, int hl_type) { code = MONO_BOLD; break; default: - case HL_OVERLONG: /* maybe change this later */ case HL_BAD: code = MONO_REVERSE; break; -- cgit v1.2.3