[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [61226] trunk/blender/source/blender/ blenkernel/intern/unit.c: Followup to previous r61225, the other part of the condition was also reverted! Thanks to Sergey for noting this .

Bastien Montagne montagne29 at wanadoo.fr
Sun Nov 10 21:04:49 CET 2013


Revision: 61226
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61226
Author:   mont29
Date:     2013-11-10 20:04:47 +0000 (Sun, 10 Nov 2013)
Log Message:
-----------
Followup to previous r61225, the other part of the condition was also reverted! Thanks to Sergey for noting this. :)

Revision Links:
--------------
    http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=61225

Modified Paths:
--------------
    trunk/blender/source/blender/blenkernel/intern/unit.c

Modified: trunk/blender/source/blender/blenkernel/intern/unit.c
===================================================================
--- trunk/blender/source/blender/blenkernel/intern/unit.c	2013-11-10 19:51:44 UTC (rev 61225)
+++ trunk/blender/source/blender/blenkernel/intern/unit.c	2013-11-10 20:04:47 UTC (rev 61226)
@@ -609,7 +609,7 @@
 		int i;
 		char *ch = str;
 
-		for (i = 0; (i >= len_max || *ch != '\0'); i++, ch++) {
+		for (i = 0; (i < len_max || *ch != '\0'); i++, ch++) {
 			if ((*ch >= 'A') && (*ch <= 'Z'))
 				*ch += ('a' - 'A');
 		}




More information about the Bf-blender-cvs mailing list