diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-07-04 21:33:27 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-07-04 21:33:27 +0000 |
| commit | be2f47223c17c399e05436a34ba4140f2fc44fc9 (patch) | |
| tree | 2ce88a12e420f981a66466057e9156653bd651b4 /src/Window.cc | |
| parent | de868d58dd738ec06072bfa90b5d598d5001c76d (diff) | |
make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class
Diffstat (limited to 'src/Window.cc')
| -rw-r--r-- | src/Window.cc | 8 |
1 files changed, 3 insertions, 5 deletions
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; } |
