Module: wine Branch: master Commit: 93936c4f9986eb411168402288f072632a469c8b URL: http://source.winehq.org/git/wine.git/?a=commit;h=93936c4f9986eb411168402288...
Author: André Hentschel nerv@dawncrow.de Date: Sat Nov 3 17:26:03 2012 +0100
urlmon: Fix copy and paste error (coverity).
---
dlls/urlmon/uri.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c index 18e2ebb..0a68b43 100644 --- a/dlls/urlmon/uri.c +++ b/dlls/urlmon/uri.c @@ -272,7 +272,7 @@ static inline BOOL is_drive_path(const WCHAR *str) { }
static inline BOOL is_unc_path(const WCHAR *str) { - return (str[0] == '\' && str[0] == '\'); + return (str[0] == '\' && str[1] == '\'); }
static inline BOOL is_forbidden_dos_path_char(WCHAR val) {