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>2010-09-28 23:57:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-09-28 23:57:47 +0400
commit2b59013490da8f60420c254d1c84d921c61e9c8c (patch)
treeb6bd4c777c283aa8af2707d2a1dfd39b72594c39 /source/blender/editors/space_console
parenta90115c2eed330ac97b555bca39cc984a2b59782 (diff)
bugfix pointed out by Kris Salaah (own mistake)
Diffstat (limited to 'source/blender/editors/space_console')
-rw-r--r--source/blender/editors/space_console/console_ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_console/console_ops.c b/source/blender/editors/space_console/console_ops.c
index 34e6add81ef..ec3c600beab 100644
--- a/source/blender/editors/space_console/console_ops.c
+++ b/source/blender/editors/space_console/console_ops.c
@@ -374,7 +374,7 @@ static int insert_exec(bContext *C, wmOperator *op)
if(str[0]=='\t' && str[1]=='\0') {
int len= TAB_LENGTH - (ci->cursor % TAB_LENGTH);
MEM_freeN(str);
- MEM_mallocN(len + 1, "insert_exec");
+ str= MEM_mallocN(len + 1, "insert_exec");
memset(str, ' ', len);
str[len]= '\0';
}