diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Shape.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FbTk/Shape.cc b/src/FbTk/Shape.cc index 41c7885..32745af 100644 --- a/src/FbTk/Shape.cc +++ b/src/FbTk/Shape.cc | |||
@@ -151,7 +151,9 @@ void cleanCorners() { | |||
151 | 151 | ||
152 | if (nr_shapes == 1) { | 152 | if (nr_shapes == 1) { |
153 | s_corners.clear(); | 153 | s_corners.clear(); |
154 | } else { | 154 | } |
155 | |||
156 | if (nr_shapes > 0) { | ||
155 | nr_shapes--; // refcounting | 157 | nr_shapes--; // refcounting |
156 | } | 158 | } |
157 | } | 159 | } |