[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51503] trunk/blender/source/blender/ blenfont/intern/blf_lang.c: Grmll?\226?\128? \166 Forgot to cleanup dev prints before committing, sorry...

Bastien Montagne montagne29 at wanadoo.fr
Mon Oct 22 16:22:06 CEST 2012


Revision: 51503
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51503
Author:   mont29
Date:     2012-10-22 14:22:05 +0000 (Mon, 22 Oct 2012)
Log Message:
-----------
Grmll?\226?\128?\166 Forgot to cleanup dev prints before committing, sorry... :/

Modified Paths:
--------------
    trunk/blender/source/blender/blenfont/intern/blf_lang.c

Modified: trunk/blender/source/blender/blenfont/intern/blf_lang.c
===================================================================
--- trunk/blender/source/blender/blenfont/intern/blf_lang.c	2012-10-22 14:17:30 UTC (rev 51502)
+++ trunk/blender/source/blender/blenfont/intern/blf_lang.c	2012-10-22 14:22:05 UTC (rev 51503)
@@ -77,11 +77,8 @@
 	if (locales) {
 		int idx = num_locales_menu - 1; /* Last item does not need to be freed! */
 		while (idx--) {
-			printf("freeing %s\n", locales_menu[idx].identifier);
 			MEM_freeN((void*)locales_menu[idx].identifier);
-			printf("freeing %s\n", locales_menu[idx].name);
 			MEM_freeN((void*)locales_menu[idx].name);
-			printf("freeing %s\n", locales_menu[idx].description);
 			MEM_freeN((void*)locales_menu[idx].description); /* Also frees locales's relevant value! */
 		}
 		MEM_freeN(locales);
@@ -113,7 +110,6 @@
 			line = line->next;
 			continue; /* Comment or void... */
 		}
-		printf("%s\n", str);
 		t = atoi(str);
 		if (t >= num_locales)
 			num_locales = t + 1;
@@ -121,7 +117,6 @@
 		line = line->next;
 	}
 	num_locales_menu++; /* The "closing" void item... */
-	printf("num_locales_menu: %d\n", num_locales_menu);
 
 	/* And now, buil locales and locale_menu! */
 	locales = MEM_callocN(num_locales * sizeof(char*), __func__);
@@ -138,7 +133,6 @@
 		}
 
 		id = atoi(str);
-		printf("%s\n", str);
 		sep1 = strchr(str, ':');
 		if (sep1) {
 			sep1++;




More information about the Bf-blender-cvs mailing list