From dde529e97757d3cf7bab2e6dce20b7fddbd968cf Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 May 2012 10:31:06 +0000 Subject: remove doubleups of newlines in readfile error prints --- source/blender/blenloader/intern/readfile.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 7078446801b..f57310dab74 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -4874,8 +4874,8 @@ static void lib_link_scene(FileData *fd, Main *main) 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 @@ static void do_versions(FileData *fd, Library *lib, Main *main) 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 @@ static void read_libraries(FileData *basefd, ListBase *mainlist) 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 @@ static void read_libraries(FileData *basefd, ListBase *mainlist) 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 @@ static void read_libraries(FileData *basefd, ListBase *mainlist) 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); -- cgit v1.2.3