Mercurial > geeqie
changeset 503:e5023cced4e5
Fix image overlay displayed only on second "I" press in layout view.
author | zas_ |
---|---|
date | Wed, 23 Apr 2008 23:47:53 +0000 |
parents | 2c6558663b52 |
children | 969530d69aac |
files | src/image-overlay.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image-overlay.c Wed Apr 23 23:35:13 2008 +0000 +++ b/src/image-overlay.c Wed Apr 23 23:47:53 2008 +0000 @@ -125,7 +125,9 @@ void image_osd_toggle(ImageWindow *imd) { - if (image_osd_get(imd, NULL, NULL)) + gint info; + + if (image_osd_get(imd, &info, NULL) && info) { if (image_osd_histogram_onoff_status(imd)) {