mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-27 02:20:05 +00:00
More 'nullptr' updates and minor clean-ups.
This commit is contained in:
parent
46c3a6bbe5
commit
b047d9be53
113 changed files with 560 additions and 663 deletions
|
|
@ -538,7 +538,7 @@ bool ResizableWindow::restoreWindowStateFromString (const String& s)
|
|||
|
||||
const Rectangle<int> screen (Desktop::getInstance().getMonitorAreaContaining (newPos.getCentre()));
|
||||
|
||||
ComponentPeer* const peer = isOnDesktop() ? getPeer() : 0;
|
||||
ComponentPeer* const peer = isOnDesktop() ? getPeer() : nullptr;
|
||||
if (peer != nullptr)
|
||||
peer->getFrameSize().addTo (newPos);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue