diff src/option.c @ 10:4e2284e71352

updated for version 7.0002
author vimboss
date Thu, 24 Jun 2004 15:53:16 +0000
parents 7edf9b6e4c36
children 4424b47a0797
line wrap: on
line diff
--- a/src/option.c
+++ b/src/option.c
@@ -3115,7 +3115,7 @@ set_init_3()
      * "-c" and "\"", but not for DJGPP, because it starts the shell without
      * command.com.  And for Win32 we need to set p_sxq instead.
      */
-    if (strstr((char *)p_sh, "sh") != NULL)
+    if (strstr((char *)gettail(p_sh), "sh") != NULL)
     {
 	int	idx3;