aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextButton.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-04-02 21:37:44 (GMT)
committerfluxgen <fluxgen>2006-04-02 21:37:44 (GMT)
commit894a7148be8ac88f7f1e98917f33088ab301bf60 (patch)
treeb9c3bd9fa04a64babc749a319a5610caabea9479 /src/FbTk/TextButton.cc
parent0ca3754d683b862762695d1be891c98410f439ac (diff)
downloadfluxbox_pavel-894a7148be8ac88f7f1e98917f33088ab301bf60.zip
fluxbox_pavel-894a7148be8ac88f7f1e98917f33088ab301bf60.tar.bz2
size_t fixes, thanks Semushin Slava aka php-coder
Diffstat (limited to 'src/FbTk/TextButton.cc')
-rw-r--r--src/FbTk/TextButton.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc
index 1d5936c..ad9de09 100644
--- a/src/FbTk/TextButton.cc
+++ b/src/FbTk/TextButton.cc
@@ -144,7 +144,7 @@ void TextButton::renderForeground(FbWindow &win, FbDrawable &drawable) {
144} 144}
145 145
146void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) { 146void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) {
147 unsigned int textlen = text().size(); 147 size_t textlen = text().size();
148 // do text alignment 148 // do text alignment
149 149
150 unsigned int textw = width(), texth = height(); 150 unsigned int textw = width(), texth = height();