mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-29 10:26:36 +01:00
Don't show extra file in game list.
This commit is contained in:
parent
1106ddd6bb
commit
de3f45044f
1 changed files with 3 additions and 3 deletions
|
@ -31,9 +31,9 @@ public class GameListAdapter implements ListAdapter {
|
|||
public int getCount() {
|
||||
int count = 0;
|
||||
for ( String file : m_context.fileList() ) {
|
||||
//if ( file.endsWith(XWConstants.GAME_EXTN) ) {
|
||||
++count;
|
||||
//}
|
||||
if ( ! file.endsWith(XWConstants.GAME_EXTN) ) {
|
||||
++count;
|
||||
}
|
||||
}
|
||||
|
||||
return count;
|
||||
|
|
Loading…
Reference in a new issue