* times.cc (hires_ms::usecs): Don't overreact.

This commit is contained in:
Corinna Vinschen 2004-06-30 16:00:32 +00:00
parent fbd5a0b8da
commit 78c6a5b53a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-06-30 Corinna Vinschen <corinna@vinschen.de>
* times.cc (hires_ms::usecs): Don't overreact.
2004-06-30 Corinna Vinschen <corinna@vinschen.de>
* times.cc (hires_ms::usecs): Reinit timer when system time overflows.

View File

@ -658,7 +658,7 @@ hires_ms::usecs (bool justdelta)
if (!minperiod) /* NO_COPY variable */
prime ();
DWORD now = timeGetTime ();
if (now <= initime_ms)
if (now < initime_ms)
{
inited = 0;
prime ();