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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-15 20:36:25 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-08-15 20:36:25 +0400
commit314b14301fd565b93bbb75697c29b109eacf813d (patch)
treef3e759c2040a58928975ca379f4eada8f171a915 /source/blender/editors/animation
parentde330b0d5c341a86ad3413c420edd2702288d1e0 (diff)
2.5: warning fixes
Directories intern/ and source/blender/ now compile warning free again here with scons/gcc.
Diffstat (limited to 'source/blender/editors/animation')
-rw-r--r--source/blender/editors/animation/anim_channels_defines.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c
index 32bda94f796..08155141053 100644
--- a/source/blender/editors/animation/anim_channels_defines.c
+++ b/source/blender/editors/animation/anim_channels_defines.c
@@ -274,7 +274,7 @@ static void acf_generic_idblock_name(bAnimListElem *ale, char *name)
/* just copy the name... */
if (id && name)
- sprintf(name, id->name+2);
+ strcpy(name, id->name+2);
}
/* Settings ------------------------------------------- */
@@ -441,7 +441,7 @@ static void acf_object_name(bAnimListElem *ale, char *name)
/* just copy the name... */
if (ob && name)
- sprintf(name, ob->id.name+2);
+ strcpy(name, ob->id.name+2);
}
/* check if some setting exists for this channel */
@@ -554,7 +554,7 @@ static void acf_group_name(bAnimListElem *ale, char *name)
/* just copy the name... */
if (agrp && name)
- sprintf(name, agrp->name);
+ strcpy(name, agrp->name);
}
/* check if some setting exists for this channel */
@@ -783,7 +783,7 @@ static int acf_filldrivers_icon(bAnimListElem *ale)
static void acf_filldrivers_name(bAnimListElem *ale, char *name)
{
- sprintf(name, "Drivers");
+ strcpy(name, "Drivers");
}
/* check if some setting exists for this channel */
@@ -858,7 +858,7 @@ static int acf_fillmatd_icon(bAnimListElem *ale)
static void acf_fillmatd_name(bAnimListElem *ale, char *name)
{
- sprintf(name, "Materials");
+ strcpy(name, "Materials");
}
/* get the appropriate flag(s) for the setting when it is valid */
@@ -902,7 +902,7 @@ static int acf_fillpartd_icon(bAnimListElem *ale)
static void acf_fillpartd_name(bAnimListElem *ale, char *name)
{
- sprintf(name, "Particles");
+ strcpy(name, "Particles");
}
/* get the appropriate flag(s) for the setting when it is valid */