aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1998-08-31 10:53:54 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1998-08-31 10:53:54 -0400
commit7faa97b815d7f35ffbbb978e5fef1bd25c420ef5 (patch)
treeaf8175d0887b6ec937d1382fa4fad218faa6e83b
parent51f21bae26e432283a7b5e2b6c558bffe8bbb034 (diff)
downloadlynx-snapshots-7faa97b815d7f35ffbbb978e5fef1bd25c420ef5.tar.gz
snapshot of project "lynx", label v2-8-1dev_24
-rw-r--r--CHANGES2
-rw-r--r--src/HTML.c10
-rw-r--r--userdefs.h2
3 files changed, 8 insertions, 6 deletions
diff --git a/CHANGES b/CHANGES
index 3ecb39ef..f7f2f1d7 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,8 @@
Changes since Lynx 2.8 release
================================================================================
+1998-08-31 (2.8.1dev.24)
+* re-correct DH's patch for COLLAPSE_BR_TAGS (reported by Larry Virden) - TD
1998-08-29 (2.8.1dev.23)
* make interim fix for gzip'd html files until we can resolve portability
issues raised by SKY's renaming - TD
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');
}
diff --git a/userdefs.h b/userdefs.h
index 467b3b43..a0537fcd 100644
--- a/userdefs.h
+++ b/userdefs.h
@@ -1214,7 +1214,7 @@
* the version definition with the Project Version on checkout. Just
* ignore it. - kw */
/* $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ */
-#define LYNX_VERSION "2.8.1dev.23"
+#define LYNX_VERSION "2.8.1dev.24"
#define LYNX_WWW_HOME "http://lynx.browser.org/"
#define LYNX_WWW_DIST "http://www.slcc.edu/lynx/current/"
#define LYNX_RELEASE FALSE