[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [46720] trunk/blender/source/blender/ blenloader/intern/readfile.c: remove doubleups of newlines in readfile error prints
Campbell Barton
ideasman42 at gmail.com
Thu May 17 12:31:06 CEST 2012
Revision: 46720
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=46720
Author: campbellbarton
Date: 2012-05-17 10:31:06 +0000 (Thu, 17 May 2012)
Log Message:
-----------
remove doubleups of newlines in readfile error prints
Modified Paths:
--------------
trunk/blender/source/blender/blenloader/intern/readfile.c
Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c 2012-05-17 10:28:30 UTC (rev 46719)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c 2012-05-17 10:31:06 UTC (rev 46720)
@@ -4874,8 +4874,8 @@
if (base->object==NULL) {
BKE_reportf_wrap(fd->reports, RPT_ERROR,
- "LIB ERROR: Object lost from scene:'%s\'\n",
- sce->id.name+2);
+ "LIB ERROR: Object lost from scene:'%s\'",
+ sce->id.name + 2);
BLI_remlink(&sce->base, base);
if (base==sce->basact) sce->basact= NULL;
MEM_freeN(base);
@@ -7209,8 +7209,8 @@
if (prop) {
BKE_reportf_wrap(fd->reports, RPT_WARNING,
"Game property name conflict in object: \"%s\".\nText objects reserve the "
- "[\"Text\"] game property to change their content through Logic Bricks.\n",
- ob->id.name+2);
+ "[\"Text\"] game property to change their content through Logic Bricks.",
+ ob->id.name + 2);
}
}
}
@@ -9042,7 +9042,7 @@
if (fd==NULL) {
BKE_reportf_wrap(basefd->reports, RPT_ERROR,
- "Can't find lib '%s'\n",
+ "Can't find lib '%s'",
mainptr->curlib->filepath);
}
}
@@ -9061,7 +9061,7 @@
append_id_part(fd, mainptr, id, &realid);
if (!realid) {
BKE_reportf_wrap(fd->reports, RPT_ERROR,
- "LIB ERROR: %s:'%s' missing from '%s'\n",
+ "LIB ERROR: %s:'%s' missing from '%s'",
BKE_idcode_to_name(GS(id->name)),
id->name+2, mainptr->curlib->filepath);
}
@@ -9100,8 +9100,8 @@
if (id->flag & LIB_READ) {
BLI_remlink(lbarray[a], id);
BKE_reportf_wrap(basefd->reports, RPT_ERROR,
- "LIB ERROR: %s:'%s' unread libblock missing from '%s'\n",
- BKE_idcode_to_name(GS(id->name)), id->name+2, mainptr->curlib->filepath);
+ "LIB ERROR: %s:'%s' unread libblock missing from '%s'",
+ BKE_idcode_to_name(GS(id->name)), id->name + 2, mainptr->curlib->filepath);
change_idid_adr(mainlist, basefd, id, NULL);
MEM_freeN(id);
More information about the Bf-blender-cvs
mailing list