aboutsummaryrefslogtreecommitdiffstats
path: root/w3mhelperpanel.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-21 16:29:46 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-21 16:29:46 +0000
commit91c91cb5cdc99ce5acf2beda2cc9fd811535e16e (patch)
treef2cea7c0e6b8c11d126f09bb53191027f3ad7289 /w3mhelperpanel.c
parent[w3m-dev 02473] clean & install-scripts (diff)
downloadw3m-91c91cb5cdc99ce5acf2beda2cc9fd811535e16e.tar.gz
w3m-91c91cb5cdc99ce5acf2beda2cc9fd811535e16e.zip
[w3m-dev 02479] #ifdef cleanups
make -> $(MAKE)
Diffstat (limited to '')
-rw-r--r--w3mhelperpanel.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/w3mhelperpanel.c b/w3mhelperpanel.c
index 7554dc5..ab7e145 100644
--- a/w3mhelperpanel.c
+++ b/w3mhelperpanel.c
@@ -1,4 +1,4 @@
-/* $Id: w3mhelperpanel.c,v 1.4 2001/11/20 17:49:23 ukai Exp $ */
+/* $Id: w3mhelperpanel.c,v 1.5 2001/11/21 16:29:47 ukai Exp $ */
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
@@ -81,11 +81,7 @@ printMailcapPanel(char *mailcap)
}
printf("Content-Type: text/html\n\n");
printf("<html><head><title>External Viewer Setup</title></head><body><h1>%s</h1>\n", MSG_TITLE);
-#ifdef __EMX__
- printf("<form method=get action=\"file:///$LIB/w3mhelperpanel.exe\">\n");
-#else
- printf("<form method=get action=\"file:///$LIB/w3mhelperpanel\">\n");
-#endif
+ printf("<form method=get action=\"file:///$LIB/" W3MHELPERPANEL_CMDNAME "\">\n");
printf("<input type=hidden name=mode value=edit>\n");
printf("<input type=hidden name=cookie value=\"%s\">\n",local_cookie);
printf("%s: %s=<input type=text name=newtype><br>%s=<input type=text name=newcmd><br><input type=submit name=submit value=\"%s\">\n",