mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Minor code modernisations.
This commit is contained in:
parent
f3b46c9a2f
commit
b2e5ef2bd6
17 changed files with 104 additions and 96 deletions
|
|
@ -146,7 +146,7 @@ void TableHeaderComponent::addColumn (const String& columnName,
|
|||
ci->minimumWidth = minimumWidth;
|
||||
ci->maximumWidth = maximumWidth;
|
||||
if (ci->maximumWidth < 0)
|
||||
ci->maximumWidth = INT_MAX;
|
||||
ci->maximumWidth = std::numeric_limits<int>::max();
|
||||
jassert (ci->maximumWidth >= ci->minimumWidth);
|
||||
ci->propertyFlags = propertyFlags;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue