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/Screen.hh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Screen.hh') diff --git a/src/Screen.hh b/src/Screen.hh index 0fabe9a4..60418cd7 100644 --- a/src/Screen.hh +++ b/src/Screen.hh @@ -71,8 +71,8 @@ struct WindowStyle { TextJustify justify; - int doJustify(const std::string &text, int &start_pos, - unsigned int max_length, unsigned int modifier) const; + void doJustify(const std::string &text, int &start_pos, + unsigned int max_length, unsigned int modifier) const; }; struct ToolbarStyle { @@ -83,8 +83,8 @@ struct ToolbarStyle { TextJustify justify; - int doJustify(const std::string &text, int &start_pos, - unsigned int max_length, unsigned int modifier) const; + void doJustify(const std::string &text, int &start_pos, + unsigned int max_length, unsigned int modifier) const; }; struct MenuStyle { -- cgit v1.2.3