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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-26 17:19:25 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-26 17:19:25 +0300
commite4b20f0180858aaeec9f057e8cc473a01e1e5280 (patch)
treefe9e3629ff21435df7027634a91405397c4a9695 /source/blender/render
parent63f84cf26d574284a30f2d28c57a6c32823f4425 (diff)
2.5: various warning fixes. There was one actual bug in a few different
places, using sprintf with strings like ID names as the format string (note that this name can contain a % character).
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/pipeline.c b/source/blender/render/intern/source/pipeline.c
index 2d7d954b70d..21a06fdd794 100644
--- a/source/blender/render/intern/source/pipeline.c
+++ b/source/blender/render/intern/source/pipeline.c
@@ -157,7 +157,7 @@ static void stats_background(RenderStats *rs)
else
spos+= sprintf(spos, "Sce: %s Ve:%d Fa:%d La:%d", G.scene->id.name+2, rs->totvert, rs->totface, rs->totlamp);
}
- printf(str); printf("\n");
+ printf("%s\n", str);
}
void RE_FreeRenderResult(RenderResult *res)