diff options
author | Sebastian Geerken <devnull@localhost> | 2014-05-11 13:06:33 +0200 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2014-05-11 13:06:33 +0200 |
commit | 5ca902c4e37684563a8b2c2efee25370195061b6 (patch) | |
tree | 12557ec2a5cca2737278177ee59ed6148013b6f2 /dw/tablecell.cc | |
parent | 5826f4b3b6c963e6a062d96b89b654b348d80b08 (diff) |
Textblock::wordWrap returns not just true/false, but the exact difference.
Diffstat (limited to 'dw/tablecell.cc')
-rw-r--r-- | dw/tablecell.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/tablecell.cc b/dw/tablecell.cc index 67d6cf2d..cbd5e0bf 100644 --- a/dw/tablecell.cc +++ b/dw/tablecell.cc @@ -45,12 +45,12 @@ TableCell::~TableCell() DBG_OBJ_DELETE (); } -bool TableCell::wordWrap(int wordIndex, bool wrapAll) +int TableCell::wordWrap(int wordIndex, bool wrapAll) { Textblock::Word *word; const char *p; - bool ret = Textblock::wordWrap (wordIndex, wrapAll); + int ret = Textblock::wordWrap (wordIndex, wrapAll); if (charWordIndex == -1) { word = words->getRef (wordIndex); |