From fdb1747099d8ee99adcb2bee4dd3e1a212e02399 Mon Sep 17 00:00:00 2001 From: "psyc://loupsycedyglgamf.onion/~lynX" Date: Wed, 10 Aug 2016 15:44:56 +0000 Subject: [PATCH] lynX! don't expect other ppl to use DEBUG your way --- src/efuns.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/efuns.c b/src/efuns.c index 427cd3d..165dff1 100644 --- a/src/efuns.c +++ b/src/efuns.c @@ -1871,7 +1871,7 @@ e_terminal_colour ( string_t * text, mapping_t * map, svalue_t * cl int i; Bool maybe_at_end; /* TRUE if the next text might start a new line */ Bool no_keys; /* TRUE if no delimiter in the string */ -#if DEBUG +#ifdef DEBUG Bool indent_overflows; #endif /* Used to catch this boundary condition: @@ -2211,7 +2211,7 @@ e_terminal_colour ( string_t * text, mapping_t * map, svalue_t * cl start = -1; space = 0; maybe_at_end = MY_FALSE; -#if DEBUG +#ifdef DEBUG indent_overflows = MY_FALSE; #endif j = 0; /* gathers the total length of the final string */ @@ -2381,7 +2381,7 @@ e_terminal_colour ( string_t * text, mapping_t * map, svalue_t * cl /* Reduce this part to fit; all the following * parts will be reduced to shreds. */ -#if DEBUG +#ifdef DEBUG indent_overflows = MY_TRUE; #endif lens[i] -= (j - MAX_STRING_LENGTH); @@ -2399,7 +2399,7 @@ e_terminal_colour ( string_t * text, mapping_t * map, svalue_t * cl else { /* This replacement does not need to be wrapped. */ -#if DEBUG +#ifdef DEBUG indent_overflows = MY_FALSE; #endif j += -lens[i];