Fixed Transparency issues: always using transparent when the captured image is transparent, if not use the DWMBackgroundColor. (and fixed a compile error due to forgotten commit)

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1671 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2012-02-20 16:40:00 +00:00
parent d3cb2d3e41
commit 096c33656c
3 changed files with 22 additions and 13 deletions

View file

@ -74,7 +74,7 @@ namespace ExternalCommand {
Image icon = null;
if (File.Exists(config.commandlines[presetCommand])) {
try {
icon = GetExeIcon(config.commandlines[presetCommand]);
icon = GetExeIcon(config.commandlines[presetCommand], 0);
} catch{};
}
iconCache.Add(presetCommand, icon);