commit 7ed109bd58d4e7b3c26bc87df58914fe168ff853
parent ea8e2263cd8e0eadcc69aa4cb65c13d3612e02f5
Author: ukai <ukai>
Date: Mon, 24 Feb 2003 16:27:34 +0000
[w3m-dev-en 00891] Re: w3m 0.4 has been released!
* image.c (getCharSize): set W3M_TTY here, before Imgdisplay invoke
(openImgdisplay): no need setting W3M_TTY here
From: Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-25 Hironori SAKAMOTO <h-saka@lsi.nec.co.jp>
+
+ * [w3m-dev-en 00891] Re: w3m 0.4 has been released!
+ * image.c (getCharSize): set W3M_TTY here, before Imgdisplay invoke
+ (openImgdisplay): no need setting W3M_TTY here
+
2003-02-25 Fumitoshi UKAI <ukai@debian.or.jp>
* version.c.in: cvs version
diff --git a/image.c b/image.c
@@ -51,6 +51,7 @@ getCharSize()
Str tmp;
int w = 0, h = 0;
+ set_environ("W3M_TTY", ttyname_tty());
tmp = Strnew();
if (!strchr(Imgdisplay, '/'))
Strcat_m_charp(tmp, w3m_auxbin_dir(), "/", NULL);
@@ -96,7 +97,6 @@ openImgdisplay()
/* child */
char *cmd;
setup_child(FALSE, 2, -1);
- set_environ("W3M_TTY", ttyname_tty());
if (!strchr(Imgdisplay, '/'))
cmd = Strnew_m_charp(w3m_auxbin_dir(), "/", Imgdisplay, NULL)->ptr;
else