Commit 652bdb7f authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

initialize text_layer_flags with 0 so it doesn't contain random garbage if

2005-04-20  Michael Natterer  <mitch@gimp.org>

	* app/xcf/xcf-load.c (xcf_load_layer): initialize text_layer_flags
	with 0 so it doesn't contain random garbage if the text layer
	flags in the XCF have default values (are not saved at all). Fixes
	bug #301028. Initialize other stuff too for the sake of sanity.
parent 36afa786
2005-04-20 Michael Natterer <mitch@gimp.org>
* app/xcf/xcf-load.c (xcf_load_layer): initialize text_layer_flags
with 0 so it doesn't contain random garbage if the text layer
flags in the XCF have default values (are not saved at all). Fixes
bug #301028. Initialize other stuff too for the sake of sanity.
2005-04-19 Michael Natterer <mitch@gimp.org>
* tools/pdbgen/pdb/color.pdb: applied patch from Karine Delvare
......
......@@ -847,12 +847,12 @@ xcf_load_layer (XcfInfo *info,
GimpLayerMask *layer_mask;
guint32 hierarchy_offset;
guint32 layer_mask_offset;
gboolean apply_mask;
gboolean edit_mask;
gboolean show_mask;
gboolean apply_mask = TRUE;
gboolean edit_mask = FALSE;
gboolean show_mask = FALSE;
gboolean active;
gboolean floating;
guint32 text_layer_flags;
guint32 text_layer_flags = 0;
gint width;
gint height;
gint type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment