[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : alex
Repository : xara
Revision : 1223
Date : Wed May 31 12:44:40 BST 2006
Changed paths:
M /Trunk/XaraLX/wxOil/ccolbar.cpp
Fixed crash on eye-dropper over colour bar
Diff:
Index: Trunk/XaraLX/wxOil/ccolbar.cpp
===================================================================
--- Trunk/XaraLX/wxOil/ccolbar.cpp (revision 1222)
+++ Trunk/XaraLX/wxOil/ccolbar.cpp (revision 1223)
@@ -1305,7 +1305,7 @@
UINT32 ColourCell = WhereIsMouse (mousePt);
static UINT32 lastColourCell = (UINT32)-1;
- if ((ColourCell >= 0) && (lastColourCell != ColourCell)) // we are over a valid colour
+ if ((((INT32)ColourCell) >= 0) && (lastColourCell != ColourCell)) // we are over a valid colour
{
BOOL validColour = FALSE;
Xara