diff src/main.c @ 733:57f759d012c7

Modify set_default_image_overlay_template_string() to accept the pointer to the string to modify and add a generic function to set template_string value.
author zas_
date Thu, 22 May 2008 10:09:07 +0000
parents 2d8a8e892b5e
children 8a8873e7a552
line wrap: on
line diff
--- a/src/main.c	Thu May 22 09:22:29 2008 +0000
+++ b/src/main.c	Thu May 22 10:09:07 2008 +0000
@@ -576,7 +576,7 @@
 		options->color_profile.input_name[i] = NULL;
 		}
 
-	set_default_image_overlay_template_string(options);
+	set_default_image_overlay_template_string(&options->image_overlay.common.template_string);
 	sidecar_ext_add_defaults();
 	options->layout.order = g_strdup("123");
 	options->properties.tabs_order = g_strdup(info_tab_default_order());