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/editors/space_text/text_header.c')
-rw-r--r--source/blender/editors/space_text/text_header.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_text/text_header.c b/source/blender/editors/space_text/text_header.c
index be3a57afbf5..b2069b14d06 100644
--- a/source/blender/editors/space_text/text_header.c
+++ b/source/blender/editors/space_text/text_header.c
@@ -487,15 +487,15 @@ void text_properties_register(ARegionType *art)
/* panels: properties */
pt= MEM_callocN(sizeof(PanelType), "spacetype text panel");
- pt->idname= "TEXT_PT_properties";
- pt->name= "Properties";
+ strcpy(pt->idname, "TEXT_PT_properties");
+ strcpy(pt->label, "Properties");
pt->draw= text_properties_panel_draw;
BLI_addtail(&art->paneltypes, pt);
/* panels: find */
pt= MEM_callocN(sizeof(PanelType), "spacetype text panel");
- pt->idname= "TEXT_PT_find";
- pt->name= "Find";
+ strcpy(pt->idname, "TEXT_PT_find");
+ strcpy(pt->label, "Find");
pt->draw= text_find_panel_draw;
BLI_addtail(&art->paneltypes, pt);
}