mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed some stray zeros that were still being passed as null pointers
This commit is contained in:
parent
1eb3de3312
commit
6fda0bffca
54 changed files with 237 additions and 221 deletions
|
|
@ -156,7 +156,7 @@ void TableHeaderComponent::moveColumn (const int columnId, int newIndex)
|
|||
auto currentIndex = getIndexOfColumnId (columnId, false);
|
||||
newIndex = visibleIndexToTotalIndex (newIndex);
|
||||
|
||||
if (columns [currentIndex] != 0 && currentIndex != newIndex)
|
||||
if (columns[currentIndex] != nullptr && currentIndex != newIndex)
|
||||
{
|
||||
columns.move (currentIndex, newIndex);
|
||||
sendColumnsChanged();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue