2.5
authorTon Roosendaal <ton@blender.org>
Tue, 10 Feb 2009 18:33:32 +0000 (18:33 +0000)
committerTon Roosendaal <ton@blender.org>
Tue, 10 Feb 2009 18:33:32 +0000 (18:33 +0000)
snprintf should be BLI_snprintf

source/blender/editors/space_view3d/view3d_buttons.c

index e9c22ffee7850247848b907abd8ff827e04e3283..556d52e4affe5a5ed38e8c936ab21403f4a40cdb 100644 (file)
@@ -187,7 +187,7 @@ static void v3d_editvertex_buts(const bContext *C, uiBlock *block, View3D *v3d,
                        for (i=0; i<dvert->totweight; i++){
                                dg = BLI_findlink (&ob->defbase, dvert->dw[i].def_nr);
                                if(dg) {
-                                       max+= snprintf(str, sizeof(str), "%s %%x%d|", dg->name, dvert->dw[i].def_nr); 
+                                       max+= BLI_snprintf(str, sizeof(str), "%s %%x%d|", dg->name, dvert->dw[i].def_nr); 
                                        if(max<320) strcat(defstr, str);
                                }
                                else printf("oh no!\n");