mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
This commit is contained in:
parent
2fbf0fca50
commit
3b5bc3a786
1 changed files with 3 additions and 0 deletions
|
@ -128,6 +128,9 @@ public class DictBrowseActivity extends XWListActivity
|
|||
// SectionIndexer
|
||||
public int getPositionForSection( int section )
|
||||
{
|
||||
if ( section >= m_indices.length ) {
|
||||
section = m_indices.length - 1;
|
||||
}
|
||||
return m_indices[section];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue