forked from eclipse-platform/eclipse.platform.swt
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eclipse-platform#1130: [Win32]: Program.getImageData is broken for ".…
…exe" extension Before commit 97ca656 `SHGetFileInfo` was used initially to get the icon. This caused problems for some icons (eclipse-platform#715). The fix in commit 97ca656 removed the `SHGetFileInfo` invocation which caused a new problem that for some file extensions, e.g. `.exe`, no icon was returned any more. This fix re-introduces the `SHGetFileInfo`, but only uses it if `ExtractIconEx` did not return an icon. See: eclipse-platform#1030: eclipse-platform#1130 eclipse-platform#715: eclipse-platform#715
- Loading branch information
Showing
1 changed file
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters