diff src/rcfile.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 21864cc96369
children 1fa2cb6d9d65
line wrap: on
line diff
--- a/src/rcfile.c	Fri May 09 12:43:10 2008 +0000
+++ b/src/rcfile.c	Sat May 10 09:00:14 2008 +0000
@@ -448,7 +448,7 @@
 
 
 	WRITE_SUBTITLE("Image Overlay Options");
-	WRITE_BOOL(image_overlay.common.enabled);
+	WRITE_UINT(image_overlay.common.enabled);
 	WRITE_BOOL(image_overlay.common.show_at_startup);
 	WRITE_CHAR(image_overlay.common.template_string);
 
@@ -752,7 +752,7 @@
 		/* image overlay */
 		COMPAT_READ_BOOL(fullscreen.show_info, image_overlay.common.show_at_startup);
 		COMPAT_READ_CHAR(fullscreen.info, image_overlay.common.template_string);
-		READ_BOOL(image_overlay.common.enabled);
+		READ_UINT(image_overlay.common.enabled);
 		READ_BOOL(image_overlay.common.show_at_startup);
 		READ_CHAR(image_overlay.common.template_string);