Commit 7465011a authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed typo in previous change.

parent 61f3c740
......@@ -1790,9 +1790,9 @@ static LRESULT LISTBOX_Directory( HWND hwnd, LB_DESCR *descr, UINT attrib,
continue;
#undef ATTRIBS
if (!long_names && entry.cAlternateFileName[0])
strcpyW( buffer + 1, entry.cAlternateFileName );
strcpyW( buffer, entry.cAlternateFileName );
else
strcpyW( buffer + 1, entry.cFileName );
strcpyW( buffer, entry.cFileName );
}
if (!long_names) CharLowerW( buffer );
pos = LISTBOX_FindFileStrPos( hwnd, descr, buffer );
......
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