aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-10-05 18:16:35 +0200
committerThomas White <taw@physics.org>2011-10-05 18:16:35 +0200
commit9be269610763b68cd3962a778ba9dd2ffabbb2d9 (patch)
tree295ec2959c70950949c16e85116cde27a80c8c9f /src
parenta7914f60c8900a1de536e8c1129e68b6a72bcff7 (diff)
Call update_text() on creation of furniture
Diffstat (limited to 'src')
-rw-r--r--src/tool_text.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tool_text.c b/src/tool_text.c
index 6a5c8a1..2f5f274 100644
--- a/src/tool_text.c
+++ b/src/tool_text.c
@@ -461,6 +461,7 @@ static void create_default(struct presentation *p, struct style *sty,
struct text_toolinfo *ti = (struct text_toolinfo *)tip;
n = add_text_object(p->view_slide, 0.0, 0.0, sty, ti);
+ update_text((struct text_object *)n);
p->editing_object = n;
}