BugFix:
[blender.git] / source / blender / windowmanager / intern / wm_operators.c
index 306db16132ab7fdfefe8feca17ba595de9ee4aa6..6ea8352b95a3c9a32511c1907e59e1d562d30fc5 100644 (file)
@@ -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);