shlapi: Fixes for UrlIsW and UrlIsA

Troy Rollo wine at troy.rollo.name
Mon Mar 14 04:07:57 CST 2005


Testing under Windows shows that UrlIsW and UrlIsA should:

 - ignore everything after the ":" when testing for URLIS_OPAQUE.
   This option tests the structure of the scheme, not the structure of
   the URL.

 - only test for "file:" at the start of the URL for URLIS_FILEURL.
   it does not matter whether this is followed by "//" (or anything else).

ChangeLog:
 Corrections to UrlIsW and UrlIsA.
 URL_IS_OPAQUE results depend only on the scheme, not on the URL.
 URL_IS_FILEURL also only depends on the scheme ("file:").
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shwlapi.diff
Type: text/x-diff
Size: 1929 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050314/1669e37b/shwlapi.bin


More information about the wine-patches mailing list