* [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:
Ito Hiroyuki
2010-07-19 09:00:34 +00:00
parent 6a2579bb26
commit fd8468f7f9
4 changed files with 19 additions and 5 deletions

3
fm.h
View File

@@ -1,4 +1,4 @@
/* $Id: fm.h,v 1.138 2007/05/30 04:47:24 inu Exp $ */
/* $Id: fm.h,v 1.139 2010/07/19 09:00:34 htrb Exp $ */
/*
* w3m: WWW wo Miru utility
*
@@ -1038,6 +1038,7 @@ global char ExtHalfdump init(FALSE);
global char FollowLocale init(TRUE);
global char UseContentCharset init(TRUE);
global char SearchConv init(TRUE);
global char SimplePreserveSpace init(FALSE);
#define Str_conv_from_system(x) wc_Str_conv((x), SystemCharset, InnerCharset)
#define Str_conv_to_system(x) wc_Str_conv_strict((x), InnerCharset, SystemCharset)
#define Str_conv_to_halfdump(x) (ExtHalfdump ? wc_Str_conv((x), InnerCharset, DisplayCharset) : (x))