commit 2f7a98263f3d7eae3eacec4d61e14b23b5fe1672 Author: Hib Eris Date: Sun Dec 21 14:26:33 2008 +0100 Fix compile warning on ambiguous else diff --git a/test/perf-test.cc b/test/perf-test.cc index 84733ba..b759a84 100644 --- a/test/perf-test.cc +++ b/test/perf-test.cc @@ -936,11 +936,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);