summaryrefslogtreecommitdiff
path: root/dw/textblock.cc
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-12-07 21:04:38 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-12-07 21:04:38 +0100
commitdd1fe82d94986ca9aea49c803304ca9355cdcbf2 (patch)
tree4d0e2fd3ce9679bb8bf74e61b2030ebe7421a058 /dw/textblock.cc
parentc23a683df698f95164575db75b7b399744847725 (diff)
adjust comments (submitted by Tim Nieradzik)
Diffstat (limited to 'dw/textblock.cc')
-rw-r--r--dw/textblock.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index e7456ab6..d4cc9734 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -134,7 +134,7 @@ void Textblock::sizeRequestImpl (core::Requisition *requisition)
Line *lastLine = lines->getRef (lines->size () - 1);
requisition->width =
misc::max (lastLine->maxLineWidth, lastLineWidth);
- /* Note: the break_space of the last line is ignored, so breaks
+ /* Note: the breakSpace of the last line is ignored, so breaks
at the end of a textblock are not visible. */
requisition->ascent = lines->getRef(0)->ascent;
requisition->descent = lastLine->top
@@ -1447,9 +1447,9 @@ int Textblock::findLineIndex (int y)
/*
* This new routine returns the line number between (top) and
- * (top + size.ascent + size.descent + break_space): the space
+ * (top + size.ascent + size.descent + breakSpace): the space
* _below_ the line is considered part of the line. Old routine
- * returned line number between (top - previous_line->break_space)
+ * returned line number between (top - previous_line->breakSpace)
* and (top + size.ascent + size.descent): the space _above_ the
* line was considered part of the line. This is important for
* Dw_page_find_link() --EG
@@ -1741,7 +1741,7 @@ void Textblock::addParbreak (int space, core::style::Style *style)
way that the space is in any case visible. */
Widget *widget;
- /* Find the widget where to adjust the break_space. */
+ /* Find the widget where to adjust the breakSpace. */
for (widget = this;
widget->getParent() &&
widget->getParent()->instanceOf (Textblock::CLASS_ID);