mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 19:01:48 +00:00
[EXPLORER] -Try to fix a crash in explorer. CORE-12991
svn path=/trunk/; revision=74237
This commit is contained in:
parent
0c6d37d9fa
commit
9ca6144945
1 changed files with 5 additions and 1 deletions
|
@ -1162,7 +1162,11 @@ public:
|
|||
tbm.dwMask = TBMF_BUTTONSPACING;
|
||||
m_TaskBar.GetMetrics(&tbm);
|
||||
|
||||
uiRows = (rcClient.bottom + tbm.cyButtonSpacing) / (m_ButtonSize.cy + tbm.cyButtonSpacing);
|
||||
if (m_ButtonSize.cy + tbm.cyButtonSpacing != 0)
|
||||
uiRows = (rcClient.bottom + tbm.cyButtonSpacing) / (m_ButtonSize.cy + tbm.cyButtonSpacing);
|
||||
else
|
||||
uiRows = 1;
|
||||
|
||||
if (uiRows == 0)
|
||||
uiRows = 1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue