From 8fa17c5362a09d023bda999d4595f1762e5f52b9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 7 Apr 2012 12:37:15 +0000 Subject: code cleanup: no functional changes - memset(..., -1) is used incorrectly even though it worked: MOD_solidify.c - thanks Halley from IRC for noticing this. use fill_vn_i() instead. - quiet warnings in editmesh_slide.c - cleanup comments in bmesh and some other minor comment additions. --- source/blender/blenlib/intern/BLI_dynstr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenlib/intern/BLI_dynstr.c') diff --git a/source/blender/blenlib/intern/BLI_dynstr.c b/source/blender/blenlib/intern/BLI_dynstr.c index ed049a573d9..54d9bc5f16d 100644 --- a/source/blender/blenlib/intern/BLI_dynstr.c +++ b/source/blender/blenlib/intern/BLI_dynstr.c @@ -150,7 +150,7 @@ void BLI_dynstr_vappendf(DynStr *ds, const char *format, va_list args) MEM_freeN(message); message= NULL; - /* retval doesnt include \0 terminator */ + /* retval doesn't include \0 terminator */ len= retval + 1; } else @@ -206,7 +206,7 @@ void BLI_dynstr_appendf(DynStr *ds, const char *format, ...) MEM_freeN(message); message= NULL; - /* retval doesnt include \0 terminator */ + /* retval doesn't include \0 terminator */ len= retval + 1; } else -- cgit v1.2.3