aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuItem.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-22 17:19:53 (GMT)
committersimonb <simonb>2006-04-22 17:19:53 (GMT)
commitcfd92af2b680547d9b5176b001c03638a4a4d8d5 (patch)
treec91c162002f3834ad8c310a6549d6bb5d8872711 /src/FbTk/MenuItem.cc
parent11190682277e3ac14d976738576f20df04e63dc5 (diff)
downloadfluxbox-cfd92af2b680547d9b5176b001c03638a4a4d8d5.zip
fluxbox-cfd92af2b680547d9b5176b001c03638a4a4d8d5.tar.bz2
fix menu corruption when size/label changes
Diffstat (limited to 'src/FbTk/MenuItem.cc')
-rw-r--r--src/FbTk/MenuItem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/MenuItem.cc b/src/FbTk/MenuItem.cc
index f39d03c..f8ec4e9 100644
--- a/src/FbTk/MenuItem.cc
+++ b/src/FbTk/MenuItem.cc
@@ -114,7 +114,7 @@ void MenuItem::draw(FbDrawable &draw,
114 theme.frameFont().drawText(draw, // drawable 114 theme.frameFont().drawText(draw, // drawable
115 theme.screenNum(), 115 theme.screenNum(),
116 tgc.gc(), 116 tgc.gc(),
117 m_label.c_str(), m_label.size(), // text string and lenght 117 label().c_str(), label().size(), // text string and lenght
118 text_x, text_y); // position 118 text_x, text_y); // position
119 } 119 }
120 120