diff --git a/src/ChangeLog b/src/ChangeLog index 4c1c6aa5..8512275c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,11 @@ +2004-02-20 David Fritz + + * main.c (print_help): Remove call to ws_help(). + + * mswindows.c (ws_help): Remove. + + * mswindows.h (ws_help): Remove. + 2004-02-16 David Fritz * init.c (home_dir): Use aprintf() instead of xmalloc()/sprintf(). diff --git a/src/main.c b/src/main.c index 951dc04b..884d9c89 100644 --- a/src/main.c +++ b/src/main.c @@ -621,9 +621,6 @@ Recursive accept/reject:\n"), for (i = 0; i < countof (help); i++) fputs (_(help[i]), stdout); -#ifdef WINDOWS - ws_help (exec_name); -#endif exit (0); } diff --git a/src/mswindows.c b/src/mswindows.c index 424bb7eb..c0960ee2 100644 --- a/src/mswindows.c +++ b/src/mswindows.c @@ -221,28 +221,6 @@ ws_mypath (void) 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) { diff --git a/src/mswindows.h b/src/mswindows.h index 21f4b50f..93c0cb91 100644 --- a/src/mswindows.h +++ b/src/mswindows.h @@ -159,7 +159,6 @@ 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 . */