Fixed typo in previous change.

This commit is contained in:
Alexandre Julliard 2004-03-20 19:27:10 +00:00
parent 61f3c740f9
commit 7465011a93
1 changed files with 2 additions and 2 deletions

View File

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