summaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index 3b0e14cf..4fe19fdd 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -316,7 +316,9 @@ void Textblock::sizeRequestImpl (core::Requisition *requisition, int numPos,
//
// (The latter is a simplification: an over-correct implementation would test
// all OOFMs on whether affectsLeftBorder() or affectsRightBorder() returns
- // true.)
+ // true. Also, this may be optimized by distinguishing between floats
+ // generated by this textblock (which would not make rewrapping necessary)
+ // and floats generated by other textblocks (which would).)
int newLineBreakWidth = getAvailWidth (true);
int newFCX, newFCY;