Skip to content

Commit

Permalink
make things right again
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-zamora committed Oct 15, 2019
2 parents 70ac23c + c70b7dd commit 393d9b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
4 changes: 3 additions & 1 deletion src/renderer/uia/UiaRenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,8 @@ UiaEngine::UiaEngine(IUiaEventDispatcher* dispatcher) :
// - S_OK if we started to paint. S_FALSE if we didn't need to paint.
[[nodiscard]] HRESULT UiaEngine::StartPaint() noexcept
{
RETURN_HR_IF(S_FALSE, !_isEnabled);

// If there's nothing to do, quick return
bool somethingToDo = false;

Expand All @@ -196,7 +198,7 @@ UiaEngine::UiaEngine(IUiaEventDispatcher* dispatcher) :
}
}

return somethingToDo ? S_OK : S_FALSE;
return S_OK;
}

// Routine Description:
Expand Down
8 changes: 0 additions & 8 deletions src/renderer/uia/lib/sources

This file was deleted.

0 comments on commit 393d9b9

Please sign in to comment.