diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1998-08-31 10:53:54 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1998-08-31 10:53:54 -0400 |
commit | 7faa97b815d7f35ffbbb978e5fef1bd25c420ef5 (patch) | |
tree | af8175d0887b6ec937d1382fa4fad218faa6e83b /src | |
parent | 51f21bae26e432283a7b5e2b6c558bffe8bbb034 (diff) | |
download | lynx-snapshots-7faa97b815d7f35ffbbb978e5fef1bd25c420ef5.tar.gz |
snapshot of project "lynx", label v2-8-1dev_24
Diffstat (limited to 'src')
-rw-r--r-- | src/HTML.c | 10 |
1 files changed, 5 insertions, 5 deletions
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'); } |