[Android] Fix typo
Geoffrey Métais
git at videolan.org
Wed Mar 4 15:55:32 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Mar 4 15:11:16 2015 +0100| [b3637befd4686f328f881c6ae406529625f8aeb2] | committer: Geoffrey Métais
Fix typo
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=b3637befd4686f328f881c6ae406529625f8aeb2
---
vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
index 5c54423..3d37bfc 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoListAdapter.java
@@ -263,7 +263,7 @@ public class VideoListAdapter extends ArrayAdapter<MediaWrapper>
@Override
@Nullable
public MediaWrapper getItem(int position) {
- if (position < getCount() && position > 0)
+ if (position < getCount() && position >= 0)
return super.getItem(position);
else
return null;
More information about the Android
mailing list