X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..42b1fb630d94b919d455c1f0f2212bc6bcc04d46:/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;