[aseprite] 185/308: Minor change/renames in Widget::flushRedraw()
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit e64cc958cee8927be72e5db8a9320160990f3975
Author: David Capello <davidcapello at gmail.com>
Date: Mon Jan 4 17:50:21 2016 -0300
Minor change/renames in Widget::flushRedraw()
---
src/ui/widget.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/ui/widget.cpp b/src/ui/widget.cpp
index f5276ac..3ebcea2 100644
--- a/src/ui/widget.cpp
+++ b/src/ui/widget.cpp
@@ -894,9 +894,9 @@ void Widget::flushRedraw()
if (!widget->m_updateRegion.isEmpty()) {
// Intersect m_updateRegion with drawable area.
{
- Region region;
- widget->getDrawableRegion(region, kCutTopWindows);
- widget->m_updateRegion.createIntersection(widget->m_updateRegion, region);
+ Region drawable;
+ widget->getDrawableRegion(drawable, kCutTopWindows);
+ widget->m_updateRegion &= drawable;
}
std::size_t c, nrects = widget->m_updateRegion.size();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list