]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/cursor.cpp
added wxMOTIF_STR() macro casting away string literal constness for use with Motif...
[wxWidgets.git] / src / gtk / cursor.cpp
index 4360b9748d770c3126796a878bdf2550d3ebeada..73c259eaa50505519cc9487dc931500fd6e6244f 100644 (file)
@@ -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;