Replace a assert by a wxASSERT to make debug more easy.
This commit is contained in:
parent
df15e63d41
commit
1e35d45948
|
@ -197,7 +197,8 @@ INDEX::ITEM_SHAPE_INDEX* INDEX::getSubindex( const ITEM* aItem )
|
||||||
|
|
||||||
if( idx_n < 0 || idx_n >= MaxSubIndices )
|
if( idx_n < 0 || idx_n >= MaxSubIndices )
|
||||||
{
|
{
|
||||||
assert( false );
|
wxASSERT( idx_n >= 0 );
|
||||||
|
wxASSERT( idx_n < MaxSubIndices );
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue