aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorIto Hiroyuki <ZXB01226@nifty.com>2010-07-19 09:00:34 +0000
committerIto Hiroyuki <ZXB01226@nifty.com>2010-07-19 09:00:34 +0000
commitfd8468f7f9c9784f02a99fbd54ad15990c0037e6 (patch)
tree582fa67c8b360e85d21c1ad29c3a2bc7972bc908 /file.c
parenthttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242599#21 (diff)
downloadw3m-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 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index bbdd432..d7547b6 100644
--- a/file.c
+++ b/file.c
@@ -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) == ' ') {