X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/671d21303f57b270d388483b0161a8afbf0454d6..1fc0b5afe7813dd301098519e40bfa6e98f328cd:/src/gtk1/cursor.cpp diff --git a/src/gtk1/cursor.cpp b/src/gtk1/cursor.cpp index 4360b9748d..73c259eaa5 100644 --- a/src/gtk1/cursor.cpp +++ b/src/gtk1/cursor.cpp @@ -256,14 +256,14 @@ wxCursor::wxCursor( const wxImage & image ) int fg_intensity = fg.Red() + fg.Green() + fg.Blue(); int bg_intensity = bg.Red() + bg.Green() + bg.Blue(); - - if (bg_intensity > fg_intensity) - { + + if (bg_intensity > fg_intensity) + { //swap fg and bg wxColour tmp = fg; fg = bg; bg = tmp; - } + } int hotSpotX; int hotSpotY;