* [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.
This commit is contained in:
4
terms.c
4
terms.c
@@ -1,4 +1,4 @@
|
||||
/* $Id: terms.c,v 1.59 2010/07/18 13:31:24 htrb Exp $ */
|
||||
/* $Id: terms.c,v 1.60 2010/07/19 12:08:41 htrb Exp $ */
|
||||
/*
|
||||
* An original curses library for EUC-kanji by Akinori ITO, December 1989
|
||||
* revised by Akinori ITO, January 1995
|
||||
@@ -1201,7 +1201,7 @@ graphend(void)
|
||||
int
|
||||
graph_ok(void)
|
||||
{
|
||||
if (!UseGraphicChar)
|
||||
if (UseGraphicChar != GRAPHIC_CHAR_ALL)
|
||||
return 0;
|
||||
return T_as[0] != 0 && T_ae[0] != 0 && T_ac[0] != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user