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>2011-10-09 11:31:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-09 11:31:15 +0400
commitaa6d7ebd145ff375a9dc876d33065f80d94accca (patch)
tree4c9562c2575294c94bd55cb4b3bd25a9e7e793b6 /source/blender/blenlib
parent9d0186fc6a5aa0aab36b9a1f52e3cd5e1ac46767 (diff)
parent8714fb7019e853703ce8b102edac43d84b7bbe14 (diff)
svn merge ^/trunk/blender -r40720:40872
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/winstuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/winstuff.c b/source/blender/blenlib/intern/winstuff.c
index bf816a91fb3..3b14abb0bee 100644
--- a/source/blender/blenlib/intern/winstuff.c
+++ b/source/blender/blenlib/intern/winstuff.c
@@ -109,7 +109,7 @@ void RegisterBlendExtension(void) {
lresult = RegCreateKeyEx(root, "blendfile", 0,
NULL, REG_OPTION_NON_VOLATILE, KEY_ALL_ACCESS, NULL, &hkey, &dwd);
if (lresult == ERROR_SUCCESS) {
- sprintf(buffer,"%s","Blender File");
+ strcpy(buffer,"Blender File");
lresult = RegSetValueEx(hkey, NULL, 0, REG_SZ, (BYTE*)buffer, strlen(buffer) + 1);
RegCloseKey(hkey);
}