summarylogtreecommitdiffstats
path: root/hotspotfix.patch
diff options
context:
space:
mode:
authorAlexander F. Rødseth2019-03-27 10:18:16 +0100
committerAlexander F. Rødseth2019-03-27 10:18:16 +0100
commit62294e815e850c804c3b864c635915fe548d2d9b (patch)
tree8cb7e80fa61f11f4202e736a34c727f8ecea8df1 /hotspotfix.patch
parent4541645bb8f6aad71bdc1b1ba6caf13b2c6e6258 (diff)
downloadaur-icon-slicer.tar.gz
Move from [community] to AUR in connection with the spring cleaning
Diffstat (limited to 'hotspotfix.patch')
-rw-r--r--hotspotfix.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/hotspotfix.patch b/hotspotfix.patch
new file mode 100644
index 000000000000..5924f003bbaa
--- /dev/null
+++ b/hotspotfix.patch
@@ -0,0 +1,25 @@
+Description: Fix hotspot y coordinate
+Author: Tim Swast <tswast@gmail.com>
+
+--- a/src/main.c
++++ b/src/main.c
+@@ -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;
+ }