summarylogtreecommitdiffstats
path: root/hotspots.patch
diff options
context:
space:
mode:
Diffstat (limited to 'hotspots.patch')
-rw-r--r--hotspots.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/hotspots.patch b/hotspots.patch
new file mode 100644
index 000000000000..8ac41fb98573
--- /dev/null
+++ b/hotspots.patch
@@ -0,0 +1,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;
+ }