aboutsummaryrefslogtreecommitdiffstats
path: root/table.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2018-03-23 21:26:30 +0000
committerTatsuya Kinoshita <tats@debian.org>2018-03-23 21:26:30 +0000
commit73302179ea4119c4908892c0a3e725ab24a420fa (patch)
tree322b063207bbe8d5a9f500eb6fbcd9940ead15b4 /table.c
parentUpdate ChangeLog (diff)
downloadw3m-73302179ea4119c4908892c0a3e725ab24a420fa.tar.gz
w3m-73302179ea4119c4908892c0a3e725ab24a420fa.zip
Respect simple_preserve_space for table cells
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893902
Diffstat (limited to '')
-rw-r--r--table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/table.c b/table.c
index 4f193e1..eb5c9ba 100644
--- a/table.c
+++ b/table.c
@@ -2290,7 +2290,8 @@ skip_space(struct table *t, char *line, struct table_linfo *linfo,
}
if (s > 0) {
#ifdef USE_M17N
- if (ctype == PC_KANJI1 && prev_ctype == PC_KANJI1)
+ if (!SimplePreserveSpace &&
+ ctype == PC_KANJI1 && prev_ctype == PC_KANJI1)
skip += s;
else
#endif