mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
fix crash by removing assert I didn't need
Looks like what I was worried about wasn't an issue.
This commit is contained in:
parent
baf549189c
commit
e98c25a81a
1 changed files with 1 additions and 2 deletions
|
@ -158,8 +158,7 @@ public class BoardView extends View implements BoardHandler, SyncedDraw {
|
|||
|
||||
if ( null != m_dims ) {
|
||||
if ( BoardContainer.getIsPortrait() != (m_dims.height > m_dims.width) ) {
|
||||
// square possible; will break above!
|
||||
Assert.assertTrue( m_dims.height != m_dims.width );
|
||||
// square possible; will break above! No. tested by forceing square
|
||||
Log.d( TAG, "onMeasure: discarding m_dims" );
|
||||
if ( ++m_dimsTossCount < 4 ) {
|
||||
m_dims = null;
|
||||
|
|
Loading…
Reference in a new issue