aboutsummaryrefslogtreecommitdiffstats
path: root/rc.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 /rc.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 '')
-rw-r--r--rc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.c b/rc.c
index abb2e31..6d63a50 100644
--- a/rc.c
+++ b/rc.c
@@ -1,4 +1,4 @@
-/* $Id: rc.c,v 1.106 2007/05/23 15:06:06 inu Exp $ */
+/* $Id: rc.c,v 1.107 2010/07/19 09:00:34 htrb Exp $ */
/*
* Initialization file etc.
*/
@@ -229,6 +229,7 @@ static int OptionEncode = FALSE;
#define CMT_USE_JISX0213 N_("Use JIS X 0213:2000 (2000JIS)")
#define CMT_STRICT_ISO2022 N_("Strict ISO-2022-JP/KR/CN")
#define CMT_GB18030_AS_UCS N_("Treat 4 bytes char. of GB18030 as Unicode")
+#define CMT_SIMPLE_PRESERVE_SPACE N_("Simple Preserve space")
#endif
#define CMT_KEYMAP_FILE N_("keymap file")
@@ -671,6 +672,8 @@ struct param_ptr params10[] = {
{"gb18030_as_ucs", P_CHARINT, PI_ONOFF, (void *)&WcOption.gb18030_as_ucs,
CMT_GB18030_AS_UCS, NULL},
#endif
+ {"simple_preserve_space", P_CHARINT, PI_ONOFF, (void *)&SimplePreserveSpace,
+ CMT_SIMPLE_PRESERVE_SPACE, NULL},
{NULL, 0, 0, NULL, NULL, NULL},
};
#endif