Skip to content

Commit

Permalink
Prefer default initialization.
Browse files Browse the repository at this point in the history
Remove unused and predefined preprocessor macros.
Add /Zc:throwingNew option.
  • Loading branch information
irwir committed Jan 1, 2018
1 parent a198f5d commit 29db089
Show file tree
Hide file tree
Showing 3 changed files with 485 additions and 481 deletions.
3 changes: 1 addition & 2 deletions ResizableLib/ResizableComboLBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ void CResizableComboLBox::InitializeControl()
m_sizeAfterSizing.cy += GetSystemMetrics(SM_CYHSCROLL);

// apply size constraints
WINDOWPOS wp;
ZeroMemory(&wp, sizeof(wp));
WINDOWPOS wp = {};
wp.cx = m_sizeAfterSizing.cx;
wp.cy = m_sizeAfterSizing.cy;
ApplyLimitsToPos(&wp);
Expand Down
Loading

0 comments on commit 29db089

Please sign in to comment.