diff src/img-view.c @ 614:b2898f04c82e

image_osd_get() and image_osd_set() now uses flags.
author zas_
date Fri, 09 May 2008 09:58:46 +0000
parents 905688aa2317
children 734b6b0a3356
line wrap: on
line diff
--- a/src/img-view.c	Fri May 09 09:34:38 2008 +0000
+++ b/src/img-view.c	Fri May 09 09:58:46 2008 +0000
@@ -695,9 +695,9 @@
 
 	if (vw->fs)
 		{
-		if (image_osd_get(vw->fs->imd, NULL, NULL))
+		if (image_osd_get(vw->fs->imd, NULL))
 			{
-			image_osd_set(vw->imd, TRUE, TRUE);
+			image_osd_set(vw->imd, OSD_SHOW_INFO | OSD_SHOW_STATUS);
 			}
 
 		fullscreen_stop(vw->fs);
@@ -712,10 +712,10 @@
 
 		if (vw->ss) vw->ss->imd = vw->fs->imd;
 
-		if (image_osd_get(vw->imd, NULL, NULL))
+		if (image_osd_get(vw->imd, NULL))
 			{
-			image_osd_set(vw->imd, FALSE, FALSE);
-			image_osd_set(vw->fs->imd, TRUE, TRUE);
+			image_osd_set(vw->imd, OSD_SHOW_NOTHING);
+			image_osd_set(vw->fs->imd, OSD_SHOW_INFO | OSD_SHOW_STATUS);
 			}
 		}
 }