projects
/
colorize.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0039b37
)
Fixed refresh of image area, it was not completely refreshed
author
Andreas Eversberg
<jolly@eversberg.eu>
Sun, 9 Nov 2014 07:12:34 +0000
(08:12 +0100)
committer
Andreas Eversberg
<jolly@eversberg.eu>
Sun, 15 Mar 2015 14:34:00 +0000
(15:34 +0100)
This happend, when the image area was higher than wide (portrait).
gui/image.c
patch
|
blob
|
history
diff --git
a/gui/image.c
b/gui/image.c
index
06e40c5
..
a8f18ce
100644
(file)
--- a/
gui/image.c
+++ b/
gui/image.c
@@
-185,7
+185,7
@@
void draw_image(int x, int y, int w, int h)
if (w < 0)
w = window_width;
if (h < 0)
- h = window_
width
;
+ h = window_
height
;
guchar *data;
unsigned char compose[w*3];