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:
committed by
Vadim Zeitlin
parent
613687ecb5
commit
109fd955a9
@@ -114,8 +114,8 @@ bool wxPowerResource::Acquire(wxPowerResourceKind kind, const wxString& reason)
|
|||||||
{
|
{
|
||||||
wxAtomicInc(g_powerResourceSystemRefCount);
|
wxAtomicInc(g_powerResourceSystemRefCount);
|
||||||
|
|
||||||
bool success = UpdatePowerResourceUsage(kind, reason);
|
bool success = UpdatePowerResourceUsage(kind, reason);
|
||||||
if (!success)
|
if (!success)
|
||||||
wxAtomicDec(g_powerResourceSystemRefCount);
|
wxAtomicDec(g_powerResourceSystemRefCount);
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
|
Reference in New Issue
Block a user