Commit 428c4afe authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Fix typo in the check for hidden files.

My fault, improperly tested last-minute fixup to the original patch. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54939
parent d54e7cd5
......@@ -1305,7 +1305,7 @@ static BOOL is_hidden_file( const char *name )
while (p > name && p[-1] != '/') p--;
if (*p++ != '.') return FALSE;
if (!*p || *p == '/') return FALSE; /* "." directory */
if (*p++ != '.') return FALSE;
if (*p++ != '.') return TRUE;
if (!*p || *p == '/') return FALSE; /* ".." directory */
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment