--help.
+2004-02-20 David Fritz <zeroxdf@att.net>
+
+ * main.c (print_help): Remove call to ws_help().
+
+ * mswindows.c (ws_help): Remove.
+
+ * mswindows.h (ws_help): Remove.
+
2004-02-16 David Fritz <zeroxdf@att.net>
* init.c (home_dir): Use aprintf() instead of xmalloc()/sprintf().
for (i = 0; i < countof (help); i++)
fputs (_(help[i]), stdout);
-#ifdef WINDOWS
- ws_help (exec_name);
-#endif
exit (0);
}
return wspathsave;
}
-void
-ws_help (const char *name)
-{
- char *mypath = ws_mypath ();
-
- if (mypath)
- {
- struct stat sbuf;
- char *buf = (char *)alloca (strlen (mypath) + strlen (name) + 4 + 1);
- sprintf (buf, "%s%s.HLP", mypath, name);
- if (stat (buf, &sbuf) == 0)
- {
- printf (_("Starting WinHelp %s\n"), buf);
- WinHelp (NULL, buf, HELP_INDEX, 0);
- }
- else
- {
- printf ("%s: %s\n", buf, strerror (errno));
- }
- }
-}
-
void
ws_startup (void)
{
void ws_changetitle (const char*, int);
void ws_percenttitle (double);
char *ws_mypath (void);
-void ws_help (const char *);
void windows_main_junk (int *, char **, char **);
/* Things needed for IPv6; missing in <ws2tcpip.h>. */