* [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.
This commit is contained in:
5
rc.c
5
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
|
||||
|
||||
Reference in New Issue
Block a user