diff options
author | B. Watson <urchlay@slackware.uk> | 2024-12-21 01:11:21 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-12-21 01:11:21 -0500 |
commit | e1d4e3bbb5ef949bd9c9686e8e8c717cd7f39c5e (patch) | |
tree | 50c60aa3fbea7f20a9639d949eae68f537bc16e1 /uxd.c | |
parent | 4250fb20ef0637bd42a8492c9a6f2ba9402ae21f (diff) | |
download | uxd-e1d4e3bbb5ef949bd9c9686e8e8c717cd7f39c5e.tar.gz |
remove unused HL_OVERLONG
Diffstat (limited to 'uxd.c')
-rw-r--r-- | uxd.c | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -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; |