]> git.saurik.com Git - wxWidgets.git/commitdiff
parenthesize bitwise operator in logical expression
authorPaul Cornett <paulcor@bullseye.com>
Sat, 29 Oct 2011 04:49:38 +0000 (04:49 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sat, 29 Oct 2011 04:49:38 +0000 (04:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/listctrl.cpp

index 09354910b6d046f46a13eb0cc50d23b67e21fcf3..9faacbc8c84514d2cfc87f3edaa229a38d072b17 100644 (file)
@@ -4027,7 +4027,7 @@ void wxListMainWindow::InsertItem( wxListItem &item )
     wxListLineData *line = new wxListLineData(this);
 
     line->SetItem( item.m_col, item );
-    if ( item.m_mask & wxLIST_MASK_IMAGE && item.GetImage() != -1)
+    if ((item.m_mask & wxLIST_MASK_IMAGE) && item.GetImage() != -1)
     {
         // Reset the buffered height if it's not big enough for the new image.
         if (m_small_image_list)