From 8c0bb98e13632d6caf24fd08261ff4bca4fdd4eb Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 12 May 2010 18:43:00 +0200 Subject: beta 2010.05.12 18:43 --- tex/context/base/core-uti.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'tex/context/base/core-uti.lua') diff --git a/tex/context/base/core-uti.lua b/tex/context/base/core-uti.lua index 7dd3bba19..6a47cf45c 100644 --- a/tex/context/base/core-uti.lua +++ b/tex/context/base/core-uti.lua @@ -285,6 +285,7 @@ function statistics.formatruntime(runtime) local pages = tex.count['realpageno'] - 1 if shipped > 0 or pages > 0 then local persecond = shipped / runtime + if pages == 0 then pages = shipped end return format("%s seconds, %i processed pages, %i shipped pages, %.3f pages/second",runtime,pages,shipped,persecond) else return format("%s seconds",runtime) -- cgit v1.2.3