about summary refs log tree commit diff stats
path: root/src/GridText.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-09-12 09:32:20 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1997-09-12 09:32:20 -0400
commit2f5222ea2a4d549b4f269c11d34016fc7dc58dde (patch)
treea71f2059819076b2adf4922b25d7cbe7d217c3fe /src/GridText.c
parent549ec595d1da7693d5f7730e63f539cc8452307f (diff)
downloadlynx-snapshots-2f5222ea2a4d549b4f269c11d34016fc7dc58dde.tar.gz
snapshot of project "lynx", label v2-7-1ac_0-64
Diffstat (limited to 'src/GridText.c')
-rw-r--r--src/GridText.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/GridText.c b/src/GridText.c
index e1c414d6..301d2a18 100644
--- a/src/GridText.c
+++ b/src/GridText.c
@@ -12,8 +12,6 @@
 #include "HTTP.h"
 #include "HTAlert.h"
 #include "HTCJK.h"
-#include "UCDefs.h"
-#include "UCAux.h"
 
 #include <assert.h>
 #include <ctype.h>
@@ -4487,6 +4485,7 @@ PUBLIC void print_wwwfile_to_fd ARGS2(
                  fputc(line->data[i],fp);
 	     } else if (line->data[i] == LY_SOFT_HYPHEN &&
 		 line->data[i + 1] == '\0') { /* last char on line */
+#ifdef EXP_CHARTRANS
 		 if (dump_output_immediately &&
 		     LYRawMode &&
 		     LYlowest_eightbit[current_char_set] <= 173 &&
@@ -4497,6 +4496,9 @@ PUBLIC void print_wwwfile_to_fd ARGS2(
 		 } else {
 		     fputc('-', fp);
 		 }
+#else /* EXP_CHARTRANS */
+		 fputc('-', fp);
+#endif /* EXP_CHARTRANS */
 	     } else if (dump_output_immediately && use_underscore) {
 		switch (line->data[i]) {
 		    case LY_UNDERLINE_START_CHAR:
@@ -4563,6 +4565,7 @@ PUBLIC void print_crawl_to_fd ARGS3(
                 fputc(line->data[i],fp);
 	     } else if (line->data[i] == LY_SOFT_HYPHEN &&
 		 line->data[i + 1] == '\0') { /* last char on line */
+#ifdef EXP_CHARTRANS
 		 if (dump_output_immediately &&
 		     LYRawMode &&
 		     LYlowest_eightbit[current_char_set] <= 173 &&
@@ -4573,6 +4576,9 @@ PUBLIC void print_crawl_to_fd ARGS3(
 		 } else {
 		     fputc('-', fp);
 		 }
+#else /* EXP_CHARTRANS */
+		 fputc('-', fp);
+#endif /* EXP_CHARTRANS */
 	     }
 	}
         /*