From f15b6723b5c4252e39646f66f537ddb94b5e5976 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Thu, 17 May 2012 11:40:47 +0300 Subject: [PATCH] Minor tweaks --- Library/DialogAbout.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/DialogAbout.cpp b/Library/DialogAbout.cpp index 41021960..34b0cb3a 100644 --- a/Library/DialogAbout.cpp +++ b/Library/DialogAbout.cpp @@ -371,7 +371,7 @@ void CDialogAbout::CTabLog::Initialize() ListView_SetExtendedListViewStyleEx(item, 0, LVS_EX_LABELTIP | LVS_EX_FULLROWSELECT | LVS_EX_DOUBLEBUFFER); // Set folder/.ini icons for tree list - HIMAGELIST hImageList = ImageList_Create(16, 16, ILC_COLOR32, 2, 10); + HIMAGELIST hImageList = ImageList_Create(16, 16, ILC_COLOR32, 3, 1); HMODULE hDLL = GetModuleHandle(L"user32"); HICON hIcon = (HICON)LoadImage(hDLL, MAKEINTRESOURCE(103), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR); @@ -494,7 +494,7 @@ void CDialogAbout::CTabLog::AddItem(int level, LPCWSTR time, LPCWSTR message) case LOG_DEBUG: if (!m_Debug) return; item = GetDlgItem(m_Window, IDC_ABOUTLOG_DEBUG_CHECKBOX); - vitem.iImage = -1; + vitem.iImage = I_IMAGENONE; break; }