Initialize to correct value (OSD_SHOW_NOTHING instead of FALSE).
authorLaurent Monin <geeqie@norz.org>
Sat, 10 May 2008 12:33:52 +0000 (12:33 +0000)
committerLaurent Monin <geeqie@norz.org>
Sat, 10 May 2008 12:33:52 +0000 (12:33 +0000)
src/options.c

index ed88b7a..2698564 100644 (file)
@@ -13,6 +13,7 @@
 #include "options.h"
 
 #include "histogram.h" /* HCHAN_RGB */
+#include "image-overlay.h" /* OSD_SHOW_NOTHING */
 
 ConfOptions *init_options(ConfOptions *options)
 {
@@ -73,7 +74,7 @@ ConfOptions *init_options(ConfOptions *options)
        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.enabled = (guint)OSD_SHOW_NOTHING;
        options->image_overlay.common.show_at_startup = FALSE;
        options->image_overlay.common.template_string = NULL;