diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-19 09:00:34 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-19 09:00:34 +0000 |
commit | fd8468f7f9c9784f02a99fbd54ad15990c0037e6 (patch) | |
tree | 582fa67c8b360e85d21c1ad29c3a2bc7972bc908 /file.c | |
parent | http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242599#21 (diff) | |
download | w3m-fd8468f7f9c9784f02a99fbd54ad15990c0037e6.tar.gz w3m-fd8468f7f9c9784f02a99fbd54ad15990c0037e6.zip |
* [w3m-dev 04238] [patch] simple preserve space
* rc.c: Introduce option simple_preserve_space.
* fm.h: add global variable SimplePreserveSpace.
* file.c (HTMLlineproc0): check SimplePreserveSpace.
Diffstat (limited to '')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.255 2010/07/18 14:10:09 htrb Exp $ */ +/* $Id: file.c,v 1.256 2010/07/19 09:00:34 htrb Exp $ */ #include "fm.h" #include <sys/types.h> #include "myctype.h" @@ -6347,7 +6347,7 @@ HTMLlineproc0(char *line, struct html_feed_environ *h_env, int internal) is_hangul = wtf_is_hangul((wc_uchar *) str); else is_hangul = 0; - if (mode == PC_KANJI1 && + if (!SimplePreserveSpace && mode == PC_KANJI1 && !is_hangul && !prev_is_hangul && obuf->pos > h_env->envs[h_env->envc].indent && Strlastchar(obuf->line) == ' ') { |