summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2008-12-21 21:35:29 +0100
committerAlbert Astals Cid <aacid@kde.org>2008-12-21 22:09:56 +0100
commitcc24f37e582bfc0069faf286da97a48fe4794db1 (patch)
treea93a421af7b60d8c606c4304b5664d3489e6618d /test
parenta8cc4ad8c2da804f25db8cca1c85433d5a63307c (diff)
Fix compile warning on ambiguous else
Diffstat (limited to 'test')
-rw-r--r--test/perf-test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/perf-test.cc b/test/perf-test.cc
index 135ed345..4de17ae7 100644
--- a/test/perf-test.cc
+++ b/test/perf-test.cc
@@ -937,11 +937,12 @@ static void RenderPdf(const char *fileName)
bmpSplash = engineSplash->renderBitmap(curPage, 100.0, 0);
msTimer.stop();
double timeInMs = msTimer.getElapsed();
- if (gfTimings)
+ if (gfTimings) {
if (!bmpSplash)
LogInfo("page splash %d: failed to render\n", curPage);
else
LogInfo("page splash %d (%dx%d): %.2f ms\n", curPage, bmpSplash->getWidth(), bmpSplash->getHeight(), timeInMs);
+ }
if (ShowPreview()) {
PreviewBitmapSplash(bmpSplash);