1
0
Fork 0
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:
Julian Storer 2011-04-07 22:20:25 +01:00
parent 46c3a6bbe5
commit b047d9be53
113 changed files with 560 additions and 663 deletions

View file

@ -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);