Mercurial > geeqie.yaz
diff src/image-overlay.c @ 618:b1a922a32d9c
Save full OSD state to rc file and restore it on startup.
It allows to restore OSD with or without histogram depending
on previous state.
author | zas_ |
---|---|
date | Sat, 10 May 2008 09:00:14 +0000 |
parents | aa883b6d2ef6 |
children | f335373f44e5 |
line wrap: on
line diff
--- a/src/image-overlay.c Fri May 09 12:43:10 2008 +0000 +++ b/src/image-overlay.c Sat May 10 09:00:14 2008 +0000 @@ -829,7 +829,11 @@ { OverlayStateData *osd = image_get_osd_data(imd); - if (!osd) return FALSE; + if (!osd) + { + if (show) *show = OSD_SHOW_NOTHING; + return FALSE; + } if (show) *show = osd->show;