]> sjero.net Git - wget/blobdiff - src/mswindows.c
[svn] Remove ws_help; it doesn't make sense to invoke the help browser for
[wget] / src / mswindows.c
index 424bb7eb0eaa4435774c8c430365b2bc6bff7183..c0960ee24a41b2e1e0dc4c9c00b40ddccc2c5d25 100644 (file)
@@ -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)
 {