fix for error in own recent commit.
authorCampbell Barton <ideasman42@gmail.com>
Mon, 7 Nov 2011 15:57:52 +0000 (15:57 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 7 Nov 2011 15:57:52 +0000 (15:57 +0000)
source/blender/blenkernel/intern/movieclip.c

index c7ebef82d6fd2b03ec11284b586873cd942003b3..e3bfdd54ab128a1bcfabe15ced7030f73219f8c2 100644 (file)
@@ -157,7 +157,7 @@ static void get_sequence_fname(MovieClip *clip, int framenr, char *name)
        offset= sequence_guess_offset(clip->name, strlen(head), numlen);
 
        if (numlen) BLI_stringenc(name, head, tail, numlen, offset+framenr-1);
-       else        BLI_strncpy(name, clip->name, sizeof(name));
+       else        BLI_strncpy(name, clip->name, sizeof(clip->name));
 
        BLI_path_abs(name, ID_BLEND_PATH(G.main, &clip->id));
 }