summaryrefslogtreecommitdiff
path: root/src/region.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-07-29 19:42:07 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-07-29 19:42:07 +0800
commitfec0607d50695788426f49852ec94f31540c1ba0 (patch)
treeb637edb4b1baeeab88fafce48a4d18c2f9e0dc95 /src/region.cpp
parente33cd6a8e93ca6fd0ff3a2bdcfd24ddc6282ada3 (diff)
downloadunity-window-decorator-fec0607d50695788426f49852ec94f31540c1ba0.tar.gz
unity-window-decorator-fec0607d50695788426f49852ec94f31540c1ba0.tar.bz2
Increment count
Diffstat (limited to 'src/region.cpp')
-rw-r--r--src/region.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/region.cpp b/src/region.cpp
index 28879ac..d251d58 100644
--- a/src/region.cpp
+++ b/src/region.cpp
@@ -80,6 +80,8 @@ CompRegion::CompRegion (const CompPoint::vector &points)
{
pts[count].x = p.x ();
pts[count].y = p.y ();
+
+ count++;
}
priv = new PrivateRegion ();