aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-02-07 14:44:47 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-02-07 14:44:47 +0000
commit942c1612488479bc1853fc515607500a68a29282 (patch)
treebcf932cfbad267d45c02696e1458a0a0ba606ec4 /main.c
parent[w3m-dev 03006] fix form order in table (diff)
downloadw3m-942c1612488479bc1853fc515607500a68a29282.tar.gz
w3m-942c1612488479bc1853fc515607500a68a29282.zip
[emacs-w3m:02733] for emacs-w3m better rendering with inline image
* main.c (MAIN): activeImage = TRUE when -halfdump & display_image=1 From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.c b/main.c
index 19fcc8a..66ec6a5 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.79 2002/02/05 12:31:27 ukai Exp $ */
+/* $Id: main.c,v 1.80 2002/02/07 14:44:47 ukai Exp $ */
#define MAINPROGRAM
#include "fm.h"
#include <signal.h>
@@ -733,6 +733,10 @@ MAIN(int argc, char **argv, char **envp)
setupscreen();
#endif /* not SIGWINCH */
}
+#ifdef USE_IMAGE
+ else if (w3m_halfdump && displayImage)
+ activeImage = TRUE;
+#endif
#ifdef SIGCHLD
signal(SIGCHLD, sig_chld);
#endif