[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32178] trunk/blender/source/blender/ editors/space_console/console_ops.c: bugfix pointed out by Kris Salaah ( own mistake)

Campbell Barton ideasman42 at gmail.com
Tue Sep 28 21:57:47 CEST 2010


Revision: 32178
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32178
Author:   campbellbarton
Date:     2010-09-28 21:57:47 +0200 (Tue, 28 Sep 2010)

Log Message:
-----------
bugfix pointed out by Kris Salaah (own mistake)

Modified Paths:
--------------
    trunk/blender/source/blender/editors/space_console/console_ops.c

Modified: trunk/blender/source/blender/editors/space_console/console_ops.c
===================================================================
--- trunk/blender/source/blender/editors/space_console/console_ops.c	2010-09-28 19:53:45 UTC (rev 32177)
+++ trunk/blender/source/blender/editors/space_console/console_ops.c	2010-09-28 19:57:47 UTC (rev 32178)
@@ -374,7 +374,7 @@
 	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';
 	}





More information about the Bf-blender-cvs mailing list