summaryrefslogtreecommitdiff
path: root/src/option.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-06-24 15:53:16 +0000
committerBram Moolenaar <Bram@vim.org>2004-06-24 15:53:16 +0000
commitf4b8e57ffd048f9ca46dd7618939ba7a1b2294ec (patch)
tree08865b59e356d861c0d1321e4adaef8385e53635 /src/option.c
parent69a7cb473ceae109b61fae9aa04ee0c29afba5d9 (diff)
downloadvim-f4b8e57ffd048f9ca46dd7618939ba7a1b2294ec.zip
updated for version 7.0002
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/option.c b/src/option.c
index ca95cc0e0..fcbddeae8 100644
--- 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;