aboutsummaryrefslogtreecommitdiffstats
path: root/w3mhelperpanel.c
diff options
context:
space:
mode:
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",