diff options
author | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-19 12:08:41 +0000 |
---|---|---|
committer | Ito Hiroyuki <ZXB01226@nifty.com> | 2010-07-19 12:08:41 +0000 |
commit | 459e010eed8f5217086045d20793ab87d2c8dc62 (patch) | |
tree | c9ce0a53a15c0026ce0306037d5b5c45559b1ec4 /main.c | |
parent | * [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org (diff) | |
download | w3m-459e010eed8f5217086045d20793ab87d2c8dc62.tar.gz w3m-459e010eed8f5217086045d20793ab87d2c8dc62.zip |
* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=261174#10
* terms.c (graph_ok): check UseGraphicChar is GRAPHIC_CHAR_ALL or not.
* symbol.c (get_symbol): check UseGraphicChar.
* rc.c (graphic_char_str): added.
* main.c (sig_chld): use GRAPHIC_CHAR_ASCII and GRAPHIC_CHAR_ALL.
* fm.h (GRAPHIC_CHAR_ASCII, GRAPHIC_CHAR_CHARSET, GRAPHIC_CHAR_ALL): added.
* fm.h: UseGraphicChar is initialized as GRAPHIC_CHAR_ASCII.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.261 2010/07/19 11:45:24 htrb Exp $ */ +/* $Id: main.c,v 1.262 2010/07/19 12:08:41 htrb Exp $ */ #define MAINPROGRAM #include "fm.h" #include <signal.h> @@ -562,9 +562,9 @@ main(int argc, char **argv, char **envp) } #endif else if (!strcmp("-graph", argv[i])) - UseGraphicChar = TRUE; + UseGraphicChar = GRAPHIC_CHAR_ALL; else if (!strcmp("-no-graph", argv[i])) - UseGraphicChar = FALSE; + UseGraphicChar = GRAPHIC_CHAR_ASCII; else if (!strcmp("-T", argv[i])) { if (++i >= argc) usage(); |