From a3e461ce1b863b783219c5488182a4aa66b3e9f7 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 11 Jan 2010 10:48:41 +0000 Subject: - player building again - fix for compiler warnigns - bpath reporting was incorrect --- source/blender/blenlib/intern/bpath.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/blenlib') diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c index 626c6ee8443..e448f6a4083 100644 --- a/source/blender/blenlib/intern/bpath.c +++ b/source/blender/blenlib/intern/bpath.c @@ -62,6 +62,7 @@ #include "BKE_main.h" /* so we can access G.main->*.first */ #include "BKE_sequencer.h" #include "BKE_utildefines.h" +#include "BKE_report.h" //XXX #include "BIF_screen.h" /* only for wait cursor */ // @@ -448,8 +449,8 @@ static void bpath_as_report(struct BPathIterator *bpi, const char *message, Repo BLI_bpathIterator_getPathExpanded(bpi, path_expanded); if(reports) { - if (name) BKE_reportf("%s \"%s\", \"%s\": %s", prefix, name, path_expanded, message); - else BKE_reportf("%s \"%s\": %s", prefix, path_expanded, message); + if (name) BKE_reportf(reports, RPT_INFO, "%s \"%s\", \"%s\": %s", prefix, name, path_expanded, message); + else BKE_reportf(reports, RPT_INFO, "%s \"%s\": %s", prefix, path_expanded, message); } } -- cgit v1.2.3