diff options
author | fluxgen <fluxgen> | 2006-04-02 21:37:44 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-04-02 21:37:44 (GMT) |
commit | 894a7148be8ac88f7f1e98917f33088ab301bf60 (patch) | |
tree | b9c3bd9fa04a64babc749a319a5610caabea9479 /src/FbTk/TextButton.cc | |
parent | 0ca3754d683b862762695d1be891c98410f439ac (diff) | |
download | fluxbox_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.cc | 2 |
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 | ||
146 | void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) { | 146 | void 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(); |