2.5: bugfix, new text space was not initialized correct.

This commit is contained in:
Brecht Van Lommel
2009-03-02 12:43:54 +00:00
parent acc8d06b77
commit 143fb8e131

View File

@@ -73,6 +73,10 @@ static SpaceLink *text_new(const bContext *C)
stext= MEM_callocN(sizeof(SpaceText), "inittext");
stext->spacetype= SPACE_TEXT;
stext->font_id= 5;
stext->lheight= 12;
stext->tabnumber= 4;
/* header */
ar= MEM_callocN(sizeof(ARegion), "header for text");