winefile: Don't parse colons as stream separators when splitting paths.
Octavian Voicu
octavian.voicu at gmail.com
Sat Aug 27 17:39:31 CDT 2011
--
Same rationale as in previous patch.
---
programs/winefile/splitpath.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/winefile/splitpath.c b/programs/winefile/splitpath.c
index 7425147..11cdc61 100644
--- a/programs/winefile/splitpath.c
+++ b/programs/winefile/splitpath.c
@@ -35,8 +35,8 @@ void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name, WCHAR*
} else if (drv)
*drv = '\0';
- /* search for end of string or stream separator */
- for(end=path; *end && *end!=':'; )
+ /* search for end of string */
+ for(end=path; *end; )
end++;
/* search for begin of file extension */
--
1.7.4.1
More information about the wine-patches
mailing list