diff options
-rw-r--r-- | source/blender/editors/screen/area.c | 8 | ||||
-rw-r--r-- | source/blender/editors/space_buttons/buttons_header.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index d9d76e963a3..c494afac79e 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1107,10 +1107,10 @@ void ED_area_prevspace(bContext *C, ScrArea *sa) ED_area_tag_redraw(sa); } -static char *windowtype_pup(void) +static char *editortype_pup(void) { return( - "Window type:%t" + "Editor type:%t" "|3D View %x1" "|%l" @@ -1160,9 +1160,9 @@ int ED_area_header_switchbutton(const bContext *C, uiBlock *block, int yco) int xco= 8; but= uiDefIconTextButC(block, ICONTEXTROW, 0, ICON_VIEW3D, - windowtype_pup(), xco, yco, XIC+10, YIC, + editortype_pup(), xco, yco, XIC+10, YIC, &(sa->butspacetype), 1.0, SPACEICONMAX, 0, 0, - "Displays Current Window Type. " + "Displays Current Editor Type. " "Click for menu of available types."); uiButSetFunc(but, spacefunc, NULL, NULL); diff --git a/source/blender/editors/space_buttons/buttons_header.c b/source/blender/editors/space_buttons/buttons_header.c index 0fb7ea9283c..c9df1f76dd9 100644 --- a/source/blender/editors/space_buttons/buttons_header.c +++ b/source/blender/editors/space_buttons/buttons_header.c @@ -67,7 +67,7 @@ static void do_buttons_buttons(bContext *C, void *arg, int event) { SpaceButs *sbuts= CTX_wm_space_buts(C); - if(!sbuts) /* window type switch */ + if(!sbuts) /* editor type switch */ return; switch(event) { |