From 36901ff5bb346c0e43591bb9f8f0e8cc079dbcd0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 11 Nov 2010 11:46:45 +0000 Subject: [PATCH] use BLI_snprintf, fixed building on msvc. --- source/blender/editors/space_view3d/view3d_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index c890c884f64..d21a0ac6721 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -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; }