Fix wrong indentation in OSX wxPowerResource code

No real changes, just reindent power.mm correctly.

Closes https://github.com/wxWidgets/wxWidgets/pull/1744
This commit is contained in:
Lauri Nurmi
2020-02-26 17:12:09 +02:00
committed by Vadim Zeitlin
parent 613687ecb5
commit 109fd955a9

View File

@@ -114,8 +114,8 @@ bool wxPowerResource::Acquire(wxPowerResourceKind kind, const wxString& reason)
{
wxAtomicInc(g_powerResourceSystemRefCount);
bool success = UpdatePowerResourceUsage(kind, reason);
if (!success)
bool success = UpdatePowerResourceUsage(kind, reason);
if (!success)
wxAtomicDec(g_powerResourceSystemRefCount);
return success;