aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Toolbar.cc8
1 files 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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Toolbar.cc,v 1.63 2003/02/23 16:29:26 fluxgen Exp $ 25// $Id: Toolbar.cc,v 1.64 2003/02/23 19:13:22 fluxgen Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -690,7 +690,7 @@ void Toolbar::checkClock(bool redraw, bool date) {
690 } 690 }
691#endif // HAVE_STRFTIME 691#endif // HAVE_STRFTIME
692 692
693 size_t newlen = strlen(t); 693 unsigned int newlen = strlen(t);
694 int dx = FbTk::doAlignment(frame.clock_w, 694 int dx = FbTk::doAlignment(frame.clock_w,
695 frame.bevel_w*2, 695 frame.bevel_w*2,
696 m_theme.justify(), 696 m_theme.justify(),
@@ -722,7 +722,7 @@ void Toolbar::redrawWindowLabel(bool redraw) {
722 if (foc->getScreen() != &screen() || foc->getTitle().size() == 0) 722 if (foc->getScreen() != &screen() || foc->getTitle().size() == 0)
723 return; 723 return;
724 724
725 size_t newlen = foc->getTitle().size(); 725 unsigned int newlen = foc->getTitle().size();
726 int dx = FbTk::doAlignment(frame.window_label_w, frame.bevel_w*2, 726 int dx = FbTk::doAlignment(frame.window_label_w, frame.bevel_w*2,
727 m_theme.justify(), 727 m_theme.justify(),
728 m_theme.font(), 728 m_theme.font(),
@@ -756,7 +756,7 @@ void Toolbar::redrawWorkspaceLabel(bool redraw) {
756 756
757 const char *text = screen().getCurrentWorkspace()->name().c_str(); 757 const char *text = screen().getCurrentWorkspace()->name().c_str();
758 size_t textlen = screen().getCurrentWorkspace()->name().size(); 758 size_t textlen = screen().getCurrentWorkspace()->name().size();
759 size_t newlen = textlen; 759 unsigned int newlen = textlen;
760 int dx = FbTk::doAlignment(frame.workspace_label_w, frame.bevel_w, 760 int dx = FbTk::doAlignment(frame.workspace_label_w, frame.bevel_w,
761 m_theme.justify(), 761 m_theme.justify(),
762 m_theme.font(), 762 m_theme.font(),