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 /rc.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 'rc.c')
-rw-r--r-- | rc.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |