From 7faa97b815d7f35ffbbb978e5fef1bd25c420ef5 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Mon, 31 Aug 1998 10:53:54 -0400 Subject: snapshot of project "lynx", label v2-8-1dev_24 --- src/HTML.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/HTML.c b/src/HTML.c index 83f5127e..f49116fd 100644 --- a/src/HTML.c +++ b/src/HTML.c @@ -1552,13 +1552,13 @@ PRIVATE void HTML_start_element ARGS6( CHECK_ID(HTML_GEN_ID); /* Add a \r (new line) if these three conditions are true: * 1. We are not collapsing BR's, and - * 2. This line has text on it, or - * 3. The previous line has text on it. + * 2. The previous line has text on it, or + * 3. This line has text on it. * Otherwise, don't do anything. -DH 980814, TD 980827 */ - if ((LYCollapseBRs == FALSE) && - (HText_LastLineSize(me->text, FALSE) || - HText_PreviousLineSize(me->text, FALSE))) { + if ((LYCollapseBRs == FALSE && + HText_PreviousLineSize(me->text, FALSE)) || + HText_LastLineSize(me->text, FALSE)) { HText_setLastChar(me->text, ' '); /* absorb white space */ HText_appendCharacter(me->text, '\r'); } -- cgit