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:
David Webster
2002-04-05 19:55:43 +00:00
parent 68fbbb7f63
commit e3fed5c49a

View File

@@ -1,9 +1,9 @@
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
// Name: imagfill.cpp // Name: imagfill.cpp
// Purpose: FloodFill for wxImage // Purpose: FloodFill for wxImage
// Author: // Author:
// RCS-ID: $Id$ // RCS-ID: $Id$
// Copyright: // Copyright:
// Licence: wxWindows licence // Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
@@ -32,7 +32,7 @@
bool wxImage::MatchPixel(int x, int y, int w, int h, const wxColour & c) 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 r = GetRed(x,y);
unsigned char g = GetGreen(x,y); unsigned char g = GetGreen(x,y);