diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-02-25 19:13:39 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-02-25 19:13:39 -0800 |
commit | af3b5b50d9daa4f38dfd38fb13d49d8167df69da (patch) | |
tree | f376f49eb10ed7c4c66959a09df1cb364fcbec41 /src/github | |
parent | 7a0469ac3ad4ae33aaa5927603ac71f2896d6c96 (diff) | |
download | dsub-af3b5b50d9daa4f38dfd38fb13d49d8167df69da.tar.gz dsub-af3b5b50d9daa4f38dfd38fb13d49d8167df69da.tar.bz2 dsub-af3b5b50d9daa4f38dfd38fb13d49d8167df69da.zip |
Reference local copy of numColumns
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/view/HeaderGridView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/view/HeaderGridView.java b/src/github/daneren2005/dsub/view/HeaderGridView.java index 913fd28d..8e1eddac 100644 --- a/src/github/daneren2005/dsub/view/HeaderGridView.java +++ b/src/github/daneren2005/dsub/view/HeaderGridView.java @@ -308,7 +308,7 @@ public class HeaderGridView extends GridView { int numColumns = getNumColumnsCompatible(); // adapter has not been set or has no views in it; - if (adapter == null || adapter.getCount() <= numColumns * (mHeaderViewInfos.size() + mFooterViewInfos.size()) || mNumColumns == -1) { + if (adapter == null || adapter.getCount() <= numColumns * (mHeaderViewInfos.size() + mFooterViewInfos.size()) || numColumns == -1) { return -1; } int mColumnWidth = getColumnWidthCompatible(); |