X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..f1db433a3bcaa0c1c8a6a149eafa5e1f0f47cb71:/src/gtk/cursor.cpp diff --git a/src/gtk/cursor.cpp b/src/gtk/cursor.cpp index 4360b9748d..73c259eaa5 100644 --- a/src/gtk/cursor.cpp +++ b/src/gtk/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;