Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-01-11 13:33:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-11 13:33:44 +0400
commit535d27eb4923d5582ff16b4016344e8f712608d7 (patch)
tree1df9bf21d704c61978865bb81d17115f28768f88 /source/blender/editors/armature
parent51bada696f77de9d7f673884cec9560218654fae (diff)
minor cleanup for string use - no functional changes
- use more logical names for strings, noticed too many strings called `str` when reviewing name patch. - pass __func__ macro to uiBeginBlock(), quite a few names were wrong (copy/paste error).
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/poseSlide.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/armature/poseSlide.c b/source/blender/editors/armature/poseSlide.c
index efc8ffe4c7d..6a9323107d7 100644
--- a/source/blender/editors/armature/poseSlide.c
+++ b/source/blender/editors/armature/poseSlide.c
@@ -523,28 +523,28 @@ static void pose_slide_reset (tPoseSlideOp *pso)
/* draw percentage indicator in header */
static void pose_slide_draw_status (tPoseSlideOp *pso)
{
- char statusStr[32];
- char mode[32];
+ char status_str[32];
+ char mode_str[32];
switch (pso->mode) {
case POSESLIDE_PUSH:
- strcpy(mode, "Push Pose");
+ strcpy(mode_str, "Push Pose");
break;
case POSESLIDE_RELAX:
- strcpy(mode, "Relax Pose");
+ strcpy(mode_str, "Relax Pose");
break;
case POSESLIDE_BREAKDOWN:
- strcpy(mode, "Breakdown");
+ strcpy(mode_str, "Breakdown");
break;
default:
// unknown
- strcpy(mode, "Sliding-Tool");
+ strcpy(mode_str, "Sliding-Tool");
break;
}
- sprintf(statusStr, "%s: %d %%", mode, (int)(pso->percentage*100.0f));
- ED_area_headerprint(pso->sa, statusStr);
+ sprintf(status_str, "%s: %d %%", mode_str, (int)(pso->percentage*100.0f));
+ ED_area_headerprint(pso->sa, status_str);
}
/* common code for invoke() methods */