summaryrefslogtreecommitdiff
path: root/src/Window.cc
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-07-04 21:33:27 +0000
committerDana Jansens <danakj@orodu.net>2002-07-04 21:33:27 +0000
commitbe2f47223c17c399e05436a34ba4140f2fc44fc9 (patch)
tree2ce88a12e420f981a66466057e9156653bd651b4 /src/Window.cc
parentde868d58dd738ec06072bfa90b5d598d5001c76d (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.cc8
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;
}