commit | 3ae80eb2e5591b9a9503b09b96e398386ecf676b | [log] [tgz] |
---|---|---|
author | Aric Stewart <aric@codeweavers.com> | Tue Oct 23 00:25:15 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Tue Oct 23 00:25:15 2001 +0000 |
tree | 02bdd1257fba38e2dc40bcd399fb9e5849dfb89d | |
parent | ddc3317b7a6cbec3beb7b60a40682ce037c94bb5 [diff] [blame] |
Fixed the behavior for SHGetFileInfo when the SHGFI_USEFILEATTRIBUTES flag is set. Corrects the given type and icon.
diff --git a/dlls/shell32/classes.c b/dlls/shell32/classes.c index 85cfd59..2da8805 100644 --- a/dlls/shell32/classes.c +++ b/dlls/shell32/classes.c
@@ -27,6 +27,10 @@ TRACE("%s %p\n",szExtension, szFileType ); + /* added because we do not want to have double dots */ + if (szExtension[0]=='.') + bPrependDot=0; + if (bPrependDot) strcpy(szTemp, ".");