lynX! don't expect other ppl to use DEBUG your way

This commit is contained in:
psyc://loupsycedyglgamf.onion/~lynX 2016-08-10 15:44:56 +00:00
parent 61cf9aa812
commit fdb1747099
1 changed files with 4 additions and 4 deletions

View File

@ -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];