LR_DEFAULTSIZE

This commit is contained in:
David Rose 2012-08-13 23:44:04 +00:00
parent 9daf081364
commit e5bed7767e

View File

@ -2593,7 +2593,7 @@ get_icon(const Filename &filename) {
Filename os = resolved.to_os_specific();
HANDLE h = LoadImage(NULL, os.c_str(),
IMAGE_ICON, 0, 0, LR_LOADFROMFILE);
IMAGE_ICON, 0, 0, LR_LOADFROMFILE | LR_DEFAULTSIZE);
if (h == 0) {
windisplay_cat.warning()
<< "windows icon filename '" << os << "' could not be loaded!!\n";