diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-26 02:43:08 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-26 02:43:08 +0400 |
commit | 7c6ddc2bd38e230f821380da8cb92ac639ed7485 (patch) | |
tree | c7c25e3ece4dfee5644f15c69e98121efa79d2dd /source/blender/src/header_ipo.c | |
parent | 37edc132dd7a969ed7733cfde5e50d233e6ced42 (diff) |
- fixed bug: strcat used instead of strcpy.
is dangerous on unitialized stack string...
Diffstat (limited to 'source/blender/src/header_ipo.c')
-rw-r--r-- | source/blender/src/header_ipo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_ipo.c b/source/blender/src/header_ipo.c index 9edb54e5152..701d8d899df 100644 --- a/source/blender/src/header_ipo.c +++ b/source/blender/src/header_ipo.c @@ -449,7 +449,7 @@ static char *ipo_modeselect_pup(void) strcpy(string, "Display IPO type: %t"); - strcat(formatstring, "|%s %%x%d"); + strcpy(formatstring, "|%s %%x%d"); if(OBACT) { sprintf(tmpstr,formatstring,"Object",ID_OB); |