From cc24f37e582bfc0069faf286da97a48fe4794db1 Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Sun, 21 Dec 2008 21:35:29 +0100 Subject: Fix compile warning on ambiguous else --- test/perf-test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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); -- cgit v1.2.3