aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uxd.c11
1 files changed, 1 insertions, 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;