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>2013-03-12 16:47:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-03-12 16:47:57 +0400
commiteefee7a25e5e5b5d6778c64ebbb9b874542f082d (patch)
tree2811629d2425d22df2cf5111b4b803e43fd9c211 /source/blender/blenkernel/intern
parentb7b14ac186e9172cd243f7d2d2d43eec9695a3a3 (diff)
replace sprintf -> strcpy where its not needed.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r--source/blender/blenkernel/intern/pointcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pointcache.c b/source/blender/blenkernel/intern/pointcache.c
index 6276bce8ca2..c318356fd2a 100644
--- a/source/blender/blenkernel/intern/pointcache.c
+++ b/source/blender/blenkernel/intern/pointcache.c
@@ -3511,7 +3511,7 @@ void BKE_ptcache_update_info(PTCacheID *pid)
else if (totframes && cache->totpoint)
BLI_snprintf(cache->info, sizeof(cache->info), IFACE_("%i points found!"), cache->totpoint);
else
- BLI_snprintf(cache->info, sizeof(cache->info), IFACE_("No valid data to read!"));
+ BLI_strncpy(cache->info, IFACE_("No valid data to read!"), sizeof(cache->info));
return;
}