fix: TileGridLayer without text

- lines were not set..

fixes #111
This commit is contained in:
Hannes Janetzek 2014-10-04 19:52:19 +02:00
parent 9b5d31bcf3
commit 5a4e422740

View File

@ -73,11 +73,10 @@ public class GridRenderer extends BucketRenderer {
if (mText != null) {
mTextBucket = new TextBucket();
buckets.set(mTextBucket);
mTextBucket.next = mLineBucket;
buckets.set(mTextBucket);
} else {
mTextBucket = null;
mLineBucket.addLine(mLines);
buckets.set(mLineBucket);
}