# HG changeset patch # User zas_ # Date 1208810735 0 # Node ID 3311e5f118aec09af33c7a195b4cac564e94fff9 # Parent 33447f98402edd9cb8c91f28c972156daadd67dd Properly initialize image_overlay options. diff -r 33447f98402e -r 3311e5f118ae src/globals.c --- 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;