changeset 474:3311e5f118ae

Properly initialize image_overlay options.
author zas_
date Mon, 21 Apr 2008 20:45:35 +0000
parents 33447f98402e
children 48c8e49b571c
files src/globals.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/globals.c	Mon Apr 21 20:42:18 2008 +0000
+++ b/src/globals.c	Mon Apr 21 20:45:35 2008 +0000
@@ -51,9 +51,7 @@
 	options->fullscreen.above = FALSE;
 	options->fullscreen.clean_flip = FALSE;
 	options->fullscreen.disable_saver = TRUE;
-	options->image_overlay.common.template_string = NULL;
 	options->fullscreen.screen = -1;
-	options->image_overlay.common.show_at_startup = TRUE;
 
 	memset(&options->image.border_color, 0, sizeof(options->image.border_color));
 	options->image.dither_quality = (gint)GDK_RGB_DITHER_NORMAL;
@@ -75,6 +73,10 @@
 	options->image.zoom_quality = (gint)GDK_INTERP_BILINEAR;
 	options->image.zoom_to_fit_allow_expand = TRUE;
 
+	options->image_overlay.common.enabled = FALSE;
+	options->image_overlay.common.show_at_startup = FALSE;
+	options->image_overlay.common.template_string = NULL;
+
 	options->layout.dir_view_type = DIRVIEW_LIST;
 	options->layout.float_window.h = 450;
 	options->layout.float_window.vdivider_pos = -1;