Skip to content

Commit d9c6188

Browse files
committed
Removed debugging code
I accidentally left in some debugging code. Removed and replaced with the proper code.
1 parent f93f7fd commit d9c6188

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

CMessageBox/CMessageBox.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,13 @@ HRESULT CMessageBox::TDMessageBox(
6464
tdmbInfo.lpCallbackData = (LONG_PTR)&properties.LNKAdminButtonIDs;
6565

6666
// Set Icons
67-
tdmbInfo.dwFlags |= TDF_USE_HICON_MAIN;
68-
tdmbInfo.hMainIcon = properties.mainIcon_HICON;
69-
/*if (properties.mainIcon_HICON != (HICON)NULL)
67+
if (properties.mainIcon_HICON != (HICON)NULL)
7068
{
7169
tdmbInfo.dwFlags |= TDF_USE_HICON_MAIN;
7270
tdmbInfo.hMainIcon = properties.mainIcon_HICON;
7371
}
7472
else
75-
tdmbInfo.pszMainIcon = properties.mainIcon_PCWSTR;*/
73+
tdmbInfo.pszMainIcon = properties.mainIcon_PCWSTR;
7674

7775
if (properties.footerIcon_HICON != (HICON)NULL)
7876
{

0 commit comments

Comments
 (0)