]> Dogcows Code - chaz/openbox/blobdiff - src/Window.cc
make the styles' doJustify methods stop returning the string length as this is no...
[chaz/openbox] / src / Window.cc
index e179824365885361661ea9dee601236a28c5b21b..803cd9af12a3c3f08620e885bfa1b262fb0352c8 100644 (file)
@@ -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;
 }
 
 
This page took 0.023562 seconds and 4 git commands to generate.