summarylogtreecommitdiffstats
path: root/hotspots.patch
blob: 8ac41fb9857354f1e6c8b9fe29cc230dd7a59913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
diff -Nru icon-slicer-0.3.orig/src/main.c icon-slicer-0.3/src/main.c
--- icon-slicer-0.3.orig/src/main.c	2003-06-25 15:17:32.000000000 -0500
+++ icon-slicer-0.3/src/main.c	2009-03-12 22:59:04.000000000 -0500
@@ -103,7 +103,7 @@
   if (n_channels == 3)
     {
       out->x = start_x;
-      out->y = start_x;
+      out->y = start_y;
       out->width = source->gridsize;
       out->height = source->gridsize;
       
@@ -137,8 +137,8 @@
 		    {
 		      min_x = start_x + i;
 		      max_x = start_x + i + 1;
-		      min_y = start_y + i;
-		      max_y = start_y + i + 1;
+		      min_y = start_y + j;
+		      max_y = start_y + j + 1;
 
 		      found = TRUE;
 		    }