aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
diff options
context:
space:
mode:
authorIto Hiroyuki <ZXB01226@nifty.com>2010-07-19 12:53:39 +0000
committerIto Hiroyuki <ZXB01226@nifty.com>2010-07-19 12:53:39 +0000
commitcc5f95be509c70a94d914c62df45403d0e10295e (patch)
tree7266288808fe4622f1104bc2cee50f0d21861283 /rc.c
parent* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org (diff)
downloadw3m-cc5f95be509c70a94d914c62df45403d0e10295e.tar.gz
w3m-cc5f95be509c70a94d914c62df45403d0e10295e.zip
* [w3m-dev 04321] Re: w3m's bugs from bugs.debian.org
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329863#8 * rc.c: Introduce option pseudo_inlines. * fm.h: add global variable pseudoInlines. * file.c (process_img): check q.
Diffstat (limited to 'rc.c')
-rw-r--r--rc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/rc.c b/rc.c
index ab2b2c5..21a34bc 100644
--- a/rc.c
+++ b/rc.c
@@ -1,4 +1,4 @@
-/* $Id: rc.c,v 1.110 2010/07/19 12:25:53 htrb Exp $ */
+/* $Id: rc.c,v 1.111 2010/07/19 12:53:39 htrb Exp $ */
/*
* Initialization file etc.
*/
@@ -75,6 +75,7 @@ static int OptionEncode = FALSE;
#define CMT_DECODE_URL N_("Display decoded URL")
#define CMT_DISPLINEINFO N_("Display current line number")
#define CMT_DISP_IMAGE N_("Display inline images")
+#define CMT_PSEUDO_INLINES N_("Display pseudo-ALTs for inline images with no ALT or TITLE string")
#ifdef USE_IMAGE
#define CMT_AUTO_IMAGE N_("Load inline images automatically")
#define CMT_MAX_LOAD_IMAGE N_("Maximum processes for parallel image loading")
@@ -385,6 +386,8 @@ struct param_ptr params1[] = {
/* XXX: emacs-w3m force to off display_image even if image options off */
{"display_image", P_INT, PI_ONOFF, (void *)&displayImage, CMT_DISP_IMAGE,
NULL},
+ {"pseudo_inlines", P_INT, PI_ONOFF, (void *)&pseudoInlines,
+ CMT_PSEUDO_INLINES, NULL},
#ifdef USE_IMAGE
{"auto_image", P_INT, PI_ONOFF, (void *)&autoImage, CMT_AUTO_IMAGE, NULL},
{"max_load_image", P_INT, PI_TEXT, (void *)&maxLoadImage,