Don't show extra file in game list.

This commit is contained in:
ehouse 2010-01-13 12:16:43 +00:00
parent 1106ddd6bb
commit de3f45044f

View file

@ -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;