Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-11 13:48:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-11 13:48:41 +0300
commita3e461ce1b863b783219c5488182a4aa66b3e9f7 (patch)
tree52ed71cfdebdc4f3b11be7daa641b18572da942d /source/blender/blenlib
parent49fc1f9860b5fe3ba628f761a00615a24e054a14 (diff)
- player building again
- fix for compiler warnigns - bpath reporting was incorrect
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/bpath.c5
1 files changed, 3 insertions, 2 deletions
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);
}
}