FALSE not false
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
68fbbb7f63
commit
e3fed5c49a
@ -1,9 +1,9 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: imagfill.cpp
|
||||
// Purpose: FloodFill for wxImage
|
||||
// Author:
|
||||
// Author:
|
||||
// RCS-ID: $Id$
|
||||
// Copyright:
|
||||
// Copyright:
|
||||
// Licence: wxWindows licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@ -32,7 +32,7 @@
|
||||
|
||||
bool wxImage::MatchPixel(int x, int y, int w, int h, const wxColour & c)
|
||||
{
|
||||
if ((x<0)||(x>=w)||(y<0)||(y>=h)) return false;
|
||||
if ((x<0)||(x>=w)||(y<0)||(y>=h)) return FALSE;
|
||||
|
||||
unsigned char r = GetRed(x,y);
|
||||
unsigned char g = GetGreen(x,y);
|
||||
|
Loading…
Reference in New Issue
Block a user