[tuhopuu-devel] text commit

Gabriel Beloin gbeloin at caramail.com
Wed Jan 5 07:18:06 CET 2005


 Hi,
btw, declaration should be done on top, not after the ifs in text.c at line 2043 and 2131. Here is a patch for quick fix. Now it compile ok:

Index: source/blender/blenkernel/intern/text.c
===================================================================
RCS file: /cvsroot/tuhopuu/tuhopuu3/source/blender/blenkernel/intern/text.c,v
retrieving revision 1.2
diff -u -r1.2 text.c
--- source/blender/blenkernel/intern/text.c	5 Jan 2005 04:10:35 -0000	1.2
+++ source/blender/blenkernel/intern/text.c	5 Jan 2005 06:02:12 -0000
@@ -2037,10 +2037,11 @@
 
 void unindent(Text *text)
 {
+	int num = 0;
+
 	if (!text) return 0;
 	if (!text->curl) return 0;
 	if (!text->sell) return 0;
-	int num = 0;
 	
 	while(TRUE)
 	{
@@ -2125,10 +2126,11 @@
 
 void uncomment(Text *text)
 {
+	int num = 0;
+
 	if (!text) return 0;
 	if (!text->curl) return 0;
 	if (!text->sell) return 0;
-	int num = 0;
 	
 	while(TRUE)
 	{


C est le moment de dynamiser votre boîte mail en découvrant les offres CaraMail Max et Pro - http://www.caramail.com



More information about the tuhopuu-devel mailing list