From 5e5d810a0d8887e882788ca75d3a3e3bf2c20b30 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 23 Feb 2003 19:13:22 +0000 Subject: data type misses --- src/Toolbar.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Toolbar.cc b/src/Toolbar.cc index c74af15..38e4bc3 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Toolbar.cc,v 1.63 2003/02/23 16:29:26 fluxgen Exp $ +// $Id: Toolbar.cc,v 1.64 2003/02/23 19:13:22 fluxgen Exp $ #include "Toolbar.hh" @@ -690,7 +690,7 @@ void Toolbar::checkClock(bool redraw, bool date) { } #endif // HAVE_STRFTIME - size_t newlen = strlen(t); + unsigned int newlen = strlen(t); int dx = FbTk::doAlignment(frame.clock_w, frame.bevel_w*2, m_theme.justify(), @@ -722,7 +722,7 @@ void Toolbar::redrawWindowLabel(bool redraw) { if (foc->getScreen() != &screen() || foc->getTitle().size() == 0) return; - size_t newlen = foc->getTitle().size(); + unsigned int newlen = foc->getTitle().size(); int dx = FbTk::doAlignment(frame.window_label_w, frame.bevel_w*2, m_theme.justify(), m_theme.font(), @@ -756,7 +756,7 @@ void Toolbar::redrawWorkspaceLabel(bool redraw) { const char *text = screen().getCurrentWorkspace()->name().c_str(); size_t textlen = screen().getCurrentWorkspace()->name().size(); - size_t newlen = textlen; + unsigned int newlen = textlen; int dx = FbTk::doAlignment(frame.workspace_label_w, frame.bevel_w, m_theme.justify(), m_theme.font(), -- cgit v0.11.2