Commit 8214f172 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fixed a bug that Mitch spotted.

2004-03-20  Sven Neumann  <sven@gimp.org>

	* app/core/gimpimage-undo-push.c (undo_pop_text_layer): fixed a
	bug that Mitch spotted.
parent cbbe4f38
2004-03-20 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-undo-push.c (undo_pop_text_layer): fixed a
bug that Mitch spotted.
2004-03-20 Sven Neumann <sven@gimp.org> 2004-03-20 Sven Neumann <sven@gimp.org>
* app/core/gimpimage-undo-push.c (undo_pop_text_layer): don't * app/core/gimpimage-undo-push.c (undo_pop_text_layer): don't
...@@ -1801,7 +1801,7 @@ undo_pop_text_layer (GimpUndo *undo, ...@@ -1801,7 +1801,7 @@ undo_pop_text_layer (GimpUndo *undo,
text = (layer->text ? text = (layer->text ?
gimp_config_duplicate (GIMP_CONFIG (layer->text)) : NULL); gimp_config_duplicate (GIMP_CONFIG (layer->text)) : NULL);
if (layer->text) if (layer->text && tu->text)
gimp_config_sync (GIMP_CONFIG (tu->text), GIMP_CONFIG (layer->text), 0); gimp_config_sync (GIMP_CONFIG (tu->text), GIMP_CONFIG (layer->text), 0);
else else
gimp_text_layer_set_text (layer, tu->text); gimp_text_layer_set_text (layer, tu->text);
......
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