summaryrefslogtreecommitdiffstats
path: root/src/sp-cursor.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-02-15 19:04:29 +0000
committerrwst <rwst@users.sourceforge.net>2006-02-15 19:04:29 +0000
commit7b0114087822b9f011d740f1279d1d9ed983a88c (patch)
tree159bd147d5a3b2daa65b327dd3f5d0b2e764eeb9 /src/sp-cursor.cpp
parentfix 1432089: stroke is not drawn not only when it's not set but also when it'... (diff)
downloadinkscape-7b0114087822b9f011d740f1279d1d9ed983a88c.tar.gz
inkscape-7b0114087822b9f011d740f1279d1d9ed983a88c.zip
bulk trailing spaces removal. consistency through MD5 of binary
(bzr r149)
Diffstat (limited to 'src/sp-cursor.cpp')
-rw-r--r--src/sp-cursor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-cursor.cpp b/src/sp-cursor.cpp
index f59c63487..339990771 100644
--- a/src/sp-cursor.cpp
+++ b/src/sp-cursor.cpp
@@ -51,7 +51,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 +59,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 +72,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 +86,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;