mirror of
git://git.psyced.org/git/psyclpc
synced 2024-08-15 03:20:16 +00:00
lynX! don't expect other ppl to use DEBUG your way
This commit is contained in:
parent
61cf9aa812
commit
fdb1747099
1 changed files with 4 additions and 4 deletions
|
@ -1871,7 +1871,7 @@ e_terminal_colour ( string_t * text, mapping_t * map, svalue_t * cl
|
||||||
int i;
|
int i;
|
||||||
Bool maybe_at_end; /* TRUE if the next text might start a new line */
|
Bool maybe_at_end; /* TRUE if the next text might start a new line */
|
||||||
Bool no_keys; /* TRUE if no delimiter in the string */
|
Bool no_keys; /* TRUE if no delimiter in the string */
|
||||||
#if DEBUG
|
#ifdef DEBUG
|
||||||
Bool indent_overflows;
|
Bool indent_overflows;
|
||||||
#endif
|
#endif
|
||||||
/* Used to catch this boundary condition:
|
/* Used to catch this boundary condition:
|
||||||
|
@ -2211,7 +2211,7 @@ e_terminal_colour ( string_t * text, mapping_t * map, svalue_t * cl
|
||||||
start = -1;
|
start = -1;
|
||||||
space = 0;
|
space = 0;
|
||||||
maybe_at_end = MY_FALSE;
|
maybe_at_end = MY_FALSE;
|
||||||
#if DEBUG
|
#ifdef DEBUG
|
||||||
indent_overflows = MY_FALSE;
|
indent_overflows = MY_FALSE;
|
||||||
#endif
|
#endif
|
||||||
j = 0; /* gathers the total length of the final string */
|
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
|
/* Reduce this part to fit; all the following
|
||||||
* parts will be reduced to shreds.
|
* parts will be reduced to shreds.
|
||||||
*/
|
*/
|
||||||
#if DEBUG
|
#ifdef DEBUG
|
||||||
indent_overflows = MY_TRUE;
|
indent_overflows = MY_TRUE;
|
||||||
#endif
|
#endif
|
||||||
lens[i] -= (j - MAX_STRING_LENGTH);
|
lens[i] -= (j - MAX_STRING_LENGTH);
|
||||||
|
@ -2399,7 +2399,7 @@ e_terminal_colour ( string_t * text, mapping_t * map, svalue_t * cl
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* This replacement does not need to be wrapped. */
|
/* This replacement does not need to be wrapped. */
|
||||||
#if DEBUG
|
#ifdef DEBUG
|
||||||
indent_overflows = MY_FALSE;
|
indent_overflows = MY_FALSE;
|
||||||
#endif
|
#endif
|
||||||
j += -lens[i];
|
j += -lens[i];
|
||||||
|
|
Loading…
Reference in a new issue