diff options
Diffstat (limited to 'source/blender/blenlib/intern/math_vector.c')
-rw-r--r-- | source/blender/blenlib/intern/math_vector.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_vector.c b/source/blender/blenlib/intern/math_vector.c index 8c653b7057a..ba0394dbc66 100644 --- a/source/blender/blenlib/intern/math_vector.c +++ b/source/blender/blenlib/intern/math_vector.c @@ -546,8 +546,8 @@ void print_vn(const char *str, const float v[], const int n) { int i = 0; printf("%s[%d]:", str, n); - while (i++ < n) { - printf(" %.3f", v[i]); + while (i < n) { + printf(" %.3f", v[i++]); } printf("\n"); } |