mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
fix assertion failure, probably due to some freak accident of missaved
timestamp. Whatever.
This commit is contained in:
parent
8f794fbd32
commit
b451b936e7
1 changed files with 2 additions and 0 deletions
|
@ -201,6 +201,8 @@ public class ExpiringDelegate {
|
|||
m_pct = (int)((100 * passed) / INTERVAL_SECS);
|
||||
if ( m_pct > 100 ) {
|
||||
m_pct = 100;
|
||||
} else if ( m_pct < 0 ) {
|
||||
m_pct = 0;
|
||||
} else if ( null != m_handler ) {
|
||||
long onePct = INTERVAL_SECS / 100;
|
||||
long lastStart = m_startSecs + (onePct * m_pct);
|
||||
|
|
Loading…
Reference in a new issue