kernel32: Tab is a valid command line separator too.

Vitaliy Margolen wine-patch at kievinfo.com
Sat Dec 17 21:06:55 CST 2005


ChangeLog:
kernel32: Tab is a valid command line separator too.

 dlls/kernel/process.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
353c6e772d7db981d46dd8fbd4570c48e705aa1d
diff --git a/dlls/kernel/process.c b/dlls/kernel/process.c
index 42c4033..33f9ee1 100644
--- a/dlls/kernel/process.c
+++ b/dlls/kernel/process.c
@@ -1783,7 +1783,7 @@ static LPWSTR get_file_name( LPCWSTR app
 
     while (*p)
     {
-        do *pos++ = *p++; while (*p && *p != ' ');
+        do *pos++ = *p++; while (*p && *p != ' ' && *p != '\t');
         *pos = 0;
         if (find_exe_file( name, buffer, buflen, handle ))
         {


More information about the wine-patches mailing list