Code

Filter effects dialog:
[inkscape.git] / src / sp-cursor.cpp
index f59c63487083ac986e74e49b61ed4acb39d6e691..e20e3bf7996c5473e3d434b0bdc587c7dbe75237 100644 (file)
@@ -12,6 +12,7 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
+#include <cstdio>
 #include <string.h>
 #include <ctype.h>
 #include "sp-cursor.h"
@@ -51,7 +52,7 @@ void sp_cursor_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, g
        if (strcmp(p, "None") == 0) {
             transparent_color = ccode;
         }
-        
+
         if (strcmp(p, "#000000") == 0) {
             black_color = ccode;
         }
@@ -59,7 +60,7 @@ void sp_cursor_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, g
 
     for (int y = 0; y < 32; y++) {
         for (int x = 0; x < 32; ) {
-            
+
             char value = 0;
             char maskv = 0;
                        
@@ -72,7 +73,7 @@ void sp_cursor_bitmap_and_mask_from_xpm (GdkBitmap **bitmap, GdkBitmap **mask, g
                     }
                 }
             }
-            
+
             pixmap_buffer[(y * 4 + x/8)-1] = value;
             mask_buffer[(y * 4 + x/8)-1] = maskv;
         }
@@ -86,7 +87,7 @@ GdkCursor *sp_cursor_new_from_xpm (gchar **xpm, gint hot_x, gint hot_y)
 {
     GdkColor const fg = { 0, 0, 0, 0 };
     GdkColor const bg = { 0, 65535, 65535, 65535 };
-    
+
     GdkBitmap *bitmap = NULL;
     GdkBitmap *mask = NULL;