* times.cc (hires_ms::usecs): Don't overreact.
This commit is contained in:
parent
fbd5a0b8da
commit
78c6a5b53a
|
@ -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.
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in New Issue