diff options
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c index 306db16132a..6ea8352b95a 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -1165,9 +1165,9 @@ static uiBlock *wm_block_create_splash(bContext *C, ARegion *ar, void *arg_unuse sprintf(version_str, "%d.%02d.%d", BLENDER_VERSION/100, BLENDER_VERSION%100, BLENDER_SUBVERSION); sprintf(revision_str, "r%s", build_rev); - BLF_size(style->widgetlabel.points, U.dpi); - ver_width = BLF_width(version_str)+5; - rev_width = BLF_width(revision_str)+5; + BLF_size(style->widgetlabel.uifont_id, style->widgetlabel.points, U.dpi); + ver_width = BLF_width(style->widgetlabel.uifont_id, version_str)+5; + rev_width = BLF_width(style->widgetlabel.uifont_id, revision_str)+5; #endif //NAN_BUILDINFO block= uiBeginBlock(C, ar, "_popup", UI_EMBOSS); |