use BLI_snprintf, fixed building on msvc.

This commit is contained in:
2010-11-11 11:46:45 +00:00
parent 4d0a5451c5
commit 36901ff5bb

View File

@@ -728,7 +728,7 @@ static void draw_viewport_name(ARegion *ar, View3D *v3d)
char tmpstr[24];
if (v3d->localvd) {
snprintf(tmpstr, sizeof(tmpstr), "%s (Local)", name);
BLI_snprintf(tmpstr, sizeof(tmpstr), "%s (Local)", name);
name= tmpstr;
}