diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-21 03:03:41 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-21 03:03:41 +0400 |
commit | a98a75346c592bc0f44f40d7bb149bd31186b715 (patch) | |
tree | 29b7912beefb29bec03a1a3de0d44c0a4d1d5eb4 /source/blender/editors/armature | |
parent | f08a8c5b156a5a26c5f7428b77e803edef09cdab (diff) |
quiet warnings and possible NULL checking crash fix for indentation functions.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r-- | source/blender/editors/armature/editarmature_retarget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/editarmature_retarget.c b/source/blender/editors/armature/editarmature_retarget.c index 9ec27b69835..a8978a0bbde 100644 --- a/source/blender/editors/armature/editarmature_retarget.c +++ b/source/blender/editors/armature/editarmature_retarget.c @@ -450,7 +450,7 @@ static void renameTemplateBone(char *name, char *template_name, ListBase *editbo { int i, j; - for (i = 0, j = 0; template_name[i] != '\0' && i < (MAXBONENAME-1) && j < (MAXBONENAME-1); i++) + for (i = 0, j = 0; i < (MAXBONENAME-1) && j < (MAXBONENAME-1) && template_name[i] != '\0'; i++) { if (template_name[i] == '&') { |