Fix extraneous parens warning
This commit is contained in:
parent
610db240a8
commit
0445b3eddd
@ -129,7 +129,7 @@ bool wxBMPHandler::SaveDib(wxImage *image,
|
||||
(format == wxBMP_8BPP_RED) || (format == wxBMP_8BPP_PALETTE) )
|
||||
{
|
||||
// need to set a wxPalette to use this, HOW TO CHECK IF VALID, SIZE?
|
||||
if ((format == wxBMP_8BPP_PALETTE)
|
||||
if (format == wxBMP_8BPP_PALETTE
|
||||
#if wxUSE_PALETTE
|
||||
&& !image->HasPalette()
|
||||
#endif // wxUSE_PALETTE
|
||||
|
Loading…
Reference in New Issue
Block a user