diff options
Diffstat (limited to 'source/blender/quicktime/apple/quicktime_export.c')
-rw-r--r-- | source/blender/quicktime/apple/quicktime_export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/quicktime/apple/quicktime_export.c b/source/blender/quicktime/apple/quicktime_export.c index c85df29de92..5e114bf7379 100644 --- a/source/blender/quicktime/apple/quicktime_export.c +++ b/source/blender/quicktime/apple/quicktime_export.c @@ -559,7 +559,7 @@ int start_qt(struct Scene *scene, struct RenderData *rd, int rectx, int recty, R #ifdef __APPLE__ EnterMoviesOnThread(0); - sprintf(theFullPath, "%s", name); + strcpy(theFullPath, name); /* hack: create an empty file to make FSPathMakeRef() happy */ myFile = open(theFullPath, O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRUSR | S_IWUSR); @@ -575,7 +575,7 @@ int start_qt(struct Scene *scene, struct RenderData *rd, int rectx, int recty, R #endif #ifdef _WIN32 qtname = get_valid_qtname(name); - sprintf(theFullPath, "%s", qtname); + strcpy(theFullPath, qtname); strcpy(name, qtname); MEM_freeN(qtname); |