Fix own error in recent tooltip commit

This commit is contained in:
Campbell Barton 2014-06-25 02:40:20 +10:00
parent 9563bde9a5
commit 1731d47976
Notes: blender-bot 2023-02-14 10:26:03 +01:00
Referenced by issue #40797, Crash on render on specific file with volumentrics and 'use hair' clicked on render layer
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ static void ui_tooltip_region_draw_cb(const bContext *UNUSED(C), ARegion *ar)
glColor3fv(tip_colors[UI_TIP_LC_MAIN]);
uiStyleFontDraw(&fstyle_header, &bbox, data->header);
xofs += BLF_width(fstyle_header.uifont_id, data->header, sizeof(data->header));
xofs = BLF_width(fstyle_header.uifont_id, data->header, sizeof(data->header));
bbox.xmin += xofs;
glColor3fv(tip_colors[UI_TIP_LC_ACTIVE]);