updated on Tue Jan 17 20:03:13 UTC 2012
[aur-mirror.git] / icon-slicer / hotspots.patch
blob8ac41fb9857354f1e6c8b9fe29cc230dd7a59913
1 diff -Nru icon-slicer-0.3.orig/src/main.c icon-slicer-0.3/src/main.c
2 --- icon-slicer-0.3.orig/src/main.c 2003-06-25 15:17:32.000000000 -0500
3 +++ icon-slicer-0.3/src/main.c 2009-03-12 22:59:04.000000000 -0500
4 @@ -103,7 +103,7 @@
5 if (n_channels == 3)
7 out->x = start_x;
8 - out->y = start_x;
9 + out->y = start_y;
10 out->width = source->gridsize;
11 out->height = source->gridsize;
13 @@ -137,8 +137,8 @@
15 min_x = start_x + i;
16 max_x = start_x + i + 1;
17 - min_y = start_y + i;
18 - max_y = start_y + i + 1;
19 + min_y = start_y + j;
20 + max_y = start_y + j + 1;
22 found = TRUE;