diff src/main.c @ 621:734b6b0a3356

image_osd_get() now returns OsdShowFlags.
author zas_
date Sat, 10 May 2008 14:22:18 +0000
parents b1a922a32d9c
children bbe8e71cdfb2
line wrap: on
line diff
--- a/src/main.c	Sat May 10 13:54:25 2008 +0000
+++ b/src/main.c	Sat May 10 14:22:18 2008 +0000
@@ -1209,7 +1209,7 @@
 					    &options->layout.main_window.w, &options->layout.main_window.h);
 			}
 
-		image_osd_get(lw->image, &options->image_overlay.common.enabled);
+		options->image_overlay.common.enabled = image_osd_get(lw->image);
 		}
 
 	layout_geometry_get_dividers(NULL, &options->layout.main_window.hdivider_pos, &options->layout.main_window.vdivider_pos);