mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
fix (by inspection) store-reported NPE
This commit is contained in:
parent
4f989c7a3e
commit
fb91ba8608
1 changed files with 2 additions and 1 deletions
|
@ -324,7 +324,8 @@ public class BoardCanvas extends Canvas implements DrawCtx {
|
||||||
|
|
||||||
public void drawTimer( Rect rect, int player, int secondsLeft )
|
public void drawTimer( Rect rect, int player, int secondsLeft )
|
||||||
{
|
{
|
||||||
if ( (m_lastSecsLeft != secondsLeft || m_lastTimerPlayer != player) ) {
|
if ( null != m_jniThread &&
|
||||||
|
(m_lastSecsLeft != secondsLeft || m_lastTimerPlayer != player) ) {
|
||||||
m_lastSecsLeft = secondsLeft;
|
m_lastSecsLeft = secondsLeft;
|
||||||
m_lastTimerPlayer = player;
|
m_lastTimerPlayer = player;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue