diff options
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/Shape.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Shape.cc b/src/FbTk/Shape.cc index c0489ec..3d41886 100644 --- a/src/FbTk/Shape.cc +++ b/src/FbTk/Shape.cc | |||
@@ -134,7 +134,7 @@ void initCorners(FbWindow& win) { | |||
134 | 134 | ||
135 | void cleanCorners() { | 135 | void cleanCorners() { |
136 | 136 | ||
137 | if (nr_shapes == 0) { | 137 | if (nr_shapes == 1) { |
138 | s_corners.clear(); | 138 | s_corners.clear(); |
139 | } else { | 139 | } else { |
140 | nr_shapes--; // refcounting | 140 | nr_shapes--; // refcounting |