From be2f47223c17c399e05436a34ba4140f2fc44fc9 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Thu, 4 Jul 2002 21:33:27 +0000 Subject: make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class --- src/Window.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/Window.cc') diff --git a/src/Window.cc b/src/Window.cc index e1798243..803cd9af 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -3542,9 +3542,9 @@ void BlackboxWindow::constrain(Corner anchor, int *pw, int *ph) { } -int WindowStyle::doJustify(const std::string &text, int &start_pos, - unsigned int max_length, - unsigned int modifier) const { +void WindowStyle::doJustify(const std::string &text, int &start_pos, + unsigned int max_length, + unsigned int modifier) const { size_t text_len = text.size(); unsigned int length; @@ -3565,8 +3565,6 @@ int WindowStyle::doJustify(const std::string &text, int &start_pos, default: break; } - - return text_len; } -- cgit v1.2.3