From dbecb1b89da59d63d5a4c4ab3abf77e4e9c4d50d Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Wed, 9 Apr 2008 01:21:35 +0200 Subject: Fix minimum load/draw time in statistics. --- apps/pdftool.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/pdftool.c b/apps/pdftool.c index 3daeb777..170173e7 100644 --- a/apps/pdftool.c +++ b/apps/pdftool.c @@ -694,7 +694,9 @@ drawpages(char *pagelist) if (benchmark) { memset(&loadtimes, 0x00, sizeof (loadtimes)); + loadtimes.min = LONG_MAX; memset(&drawtimes, 0x00, sizeof (drawtimes)); + drawtimes.min = LONG_MAX; } spec = strsep(&pagelist, ","); -- cgit v1.2.3