Mike Hearn <[EMAIL PROTECTED]> writes:

> Index: files/file.c
> ===================================================================
> RCS file: /home/wine/wine/files/file.c,v
> retrieving revision 1.197
> diff -u -r1.197 file.c
> --- files/file.c        15 Dec 2003 20:15:20 -0000      1.197
> +++ files/file.c        25 Dec 2003 19:10:35 -0000
> @@ -922,7 +922,7 @@
>      p = buffer + strlenW(buffer);
>   
>      /* add a \, if there isn't one and path is more than just the drive letter ... 
> */
> -    if ( !((strlenW(buffer) == 2) && (buffer[1] == ':'))
> +    if ( ((strlenW(buffer) == 2) && (buffer[1] == ':'))
>         && ((p == buffer) || (p[-1] != '\\'))) *p++ = '\\';

This is clearly not what was intended here, you'll need to investigate
this some more (and write a test case).

-- 
Alexandre Julliard
[EMAIL PROTECTED]

Reply via email to