summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@hotmail.com>2008-04-09 01:21:35 +0200
committerSebastian Rasmussen <sebras@hotmail.com>2008-04-09 01:21:35 +0200
commitdbecb1b89da59d63d5a4c4ab3abf77e4e9c4d50d (patch)
tree85d78adc592a4a0d7d5ddafcdfb53dbbeea3dc6c /apps
parent20e4dfe50d7ec15200e0c0550a3adf72c33f4e85 (diff)
downloadmupdf-dbecb1b89da59d63d5a4c4ab3abf77e4e9c4d50d.tar.xz
Fix minimum load/draw time in statistics.
Diffstat (limited to 'apps')
-rw-r--r--apps/pdftool.c2
1 files changed, 2 insertions, 0 deletions
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, ",");