fixed restoring of OSD at layout_image_full_screen_stop
authorVladimir Nadvornik <nadvornik@suse.cz>
Sat, 24 Jan 2009 13:05:06 +0000 (13:05 +0000)
committerVladimir Nadvornik <nadvornik@suse.cz>
Sat, 24 Jan 2009 13:05:06 +0000 (13:05 +0000)
https://sourceforge.net/tracker/index.php?func=detail&aid=2039839&group_id=222125&atid=1054680

src/layout_image.c

index 05051a3..12e8256 100644 (file)
@@ -112,7 +112,7 @@ void layout_image_full_screen_stop(LayoutWindow *lw)
        if (!layout_valid(&lw)) return;
        if (!lw->full_screen) return;
 
-       if (image_osd_get(lw->full_screen->normal_imd) & OSD_SHOW_INFO)
+       if (image_osd_get(lw->image) & OSD_SHOW_INFO)
                image_osd_set(lw->full_screen->normal_imd, image_osd_get(lw->image));
 
        fullscreen_stop(lw->full_screen);