diff options
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r-- | src/IconButton.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc index 320918c..0a50661 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc | |||
@@ -189,8 +189,10 @@ void IconButton::refreshEverything(bool setup) { | |||
189 | unsigned int w = width(); | 189 | unsigned int w = width(); |
190 | unsigned int h = height(); | 190 | unsigned int h = height(); |
191 | FbTk::translateSize(orientation(), w, h); | 191 | FbTk::translateSize(orientation(), w, h); |
192 | int iconx = 1, icony = 1; | 192 | int iconx = 1; |
193 | unsigned int neww = w, newh = h; | 193 | int icony = 1; |
194 | unsigned int neww; | ||
195 | unsigned int newh = h; | ||
194 | if (newh > 2*static_cast<unsigned>(icony)) | 196 | if (newh > 2*static_cast<unsigned>(icony)) |
195 | newh -= 2*icony; | 197 | newh -= 2*icony; |
196 | else | 198 | else |