urlmon: Fix copy and paste error (coverity).

This commit is contained in:
André Hentschel 2012-11-03 17:26:03 +01:00 committed by Alexandre Julliard
parent 34f74fdc71
commit 93936c4f99
1 changed files with 1 additions and 1 deletions

View File

@ -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) {