mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-23 06:37:12 +00:00
305644b00b
Signed-off-by: Khem Raj <raj.khem@gmail.com>
28 lines
646 B
Diff
28 lines
646 B
Diff
Description: Fix hotspot y coordinate
|
|
Author: Tim Swast <tswast@gmail.com>
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@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;
|
|
}
|