diff options
Diffstat (limited to 'widget_image.c')
-rw-r--r-- | widget_image.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/widget_image.c b/widget_image.c index 2a8f0ad..688f6c8 100644 --- a/widget_image.c +++ b/widget_image.c @@ -22,7 +22,7 @@ * */ -/* +/* * exported functions: * * WIDGET_CLASS Widget_Image @@ -237,6 +237,8 @@ int widget_image_init(WIDGET * Self) free(section); Self->data = Image; + Self->x2 = Self->col + Image->width; + Self->y2 = Self->row + Image->height; } else { |