projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d68ee6
)
Fix image overlay displayed only on second "I" press in layout view.
author
Laurent Monin
<geeqie@norz.org>
Wed, 23 Apr 2008 23:47:53 +0000
(23:47 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Wed, 23 Apr 2008 23:47:53 +0000
(23:47 +0000)
src/image-overlay.c
patch
|
blob
|
history
diff --git
a/src/image-overlay.c
b/src/image-overlay.c
index
31f69eb
..
8ee9554
100644
(file)
--- a/
src/image-overlay.c
+++ b/
src/image-overlay.c
@@
-125,7
+125,9
@@
void image_osd_histogram_log_toggle(ImageWindow *imd)
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))
{