applied patch #929947: "Various cleaning of warnings under MSW"; removed some tabs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -75,9 +75,9 @@ public:
|
||||
bool LifeCellBox::IsAlive(int dx, int dy) const
|
||||
{
|
||||
if (dy > 3)
|
||||
return (m_live2 & 1 << ((dy - 4) * 8 + dx));
|
||||
return (bool)(m_live2 & 1 << ((dy - 4) * 8 + dx));
|
||||
else
|
||||
return (m_live1 & 1 << ((dy) * 8 + dx));
|
||||
return (bool)(m_live1 & 1 << ((dy) * 8 + dx));
|
||||
}
|
||||
|
||||
// SetCell:
|
||||
|
Reference in New Issue
Block a user