Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #397 from jverkoey/cell_fix
Browse files Browse the repository at this point in the history
Bug fix: Correctly grouping the bitwise operation for drawDivider in NICellBackgrounds.
  • Loading branch information
stephanemoore committed May 14, 2013
2 parents 27b45ad + f266dcc commit 3299f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/src/NICellBackgrounds.m
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ - (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)ce
NSInteger backgroundTag = ((isFirst ? NIGroupedCellBackgroundFlagIsFirst : 0)
| (isLast ? NIGroupedCellBackgroundFlagIsLast : 0)
| NIGroupedCellBackgroundFlagInitialized
| drawDivider ? 0 : NIGroupedCellBackgroundFlagNoDivider);
| (drawDivider ? 0 : NIGroupedCellBackgroundFlagNoDivider));
if (cell.backgroundView.tag != backgroundTag) {
cell.backgroundView = [[UIImageView alloc] initWithImage:[self imageForFirst:isFirst
last:isLast
Expand Down

0 comments on commit 3299f76

Please sign in to comment.