diff options
Diffstat (limited to 'src/IconBar.cc')
-rw-r--r-- | src/IconBar.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/IconBar.cc b/src/IconBar.cc index 5de8558..8e28f2a 100644 --- a/src/IconBar.cc +++ b/src/IconBar.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: IconBar.cc,v 1.31 2003/04/25 10:40:31 fluxgen Exp $ | 22 | // $Id: IconBar.cc,v 1.32 2003/04/28 16:48:22 rathnor Exp $ |
23 | 23 | ||
24 | #include "IconBar.hh" | 24 | #include "IconBar.hh" |
25 | 25 | ||
@@ -339,8 +339,9 @@ void IconBar::draw(const IconBarObj * const obj, int width) const { | |||
339 | if (m_vertical) { | 339 | if (m_vertical) { |
340 | int tmp = dy; | 340 | int tmp = dy; |
341 | dy = obj->height() - dx; | 341 | dy = obj->height() - dx; |
342 | dx = tmp; | 342 | dx = tmp + bevel_w; |
343 | } | 343 | } else |
344 | dy += bevel_w; | ||
344 | 345 | ||
345 | m_font.drawText( | 346 | m_font.drawText( |
346 | iconwin, | 347 | iconwin, |