Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/src/header_text.c')
-rw-r--r--source/blender/src/header_text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/header_text.c b/source/blender/src/header_text.c
index d14ee33354a..92a5a49a681 100644
--- a/source/blender/src/header_text.c
+++ b/source/blender/src/header_text.c
@@ -97,7 +97,7 @@ void do_text_buttons(unsigned short event)
id= (ID *)text;
if (st->menunr==32767) {
- st->text= (Text *)add_empty_text();
+ st->text= (Text *)add_empty_text( "Text" );
st->top= 0;
@@ -238,7 +238,7 @@ static void do_text_filemenu(void *arg, int event)
switch(event) {
case 1:
- st->text= add_empty_text();
+ st->text= add_empty_text( "Text" );
st->top=0;
allqueue(REDRAWTEXT, 0);