summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2009-11-09 21:44:04 +0000
committercorvid <corvid@lavabit.com>2009-11-09 21:44:04 +0000
commit225e51094971a08af9f1ace50fab87525e775130 (patch)
treec715569fbc5b3d69bc7dd256061cd676c85b38e6
parentf72c4e24044af3b1417ee0a6f5d3e868a9e3e1da (diff)
fix some references to DwPage
-rw-r--r--dw/textblock.cc4
-rw-r--r--src/html.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/dw/textblock.cc b/dw/textblock.cc
index 5d838277..efab662a 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -1611,7 +1611,7 @@ void Textblock::addWidget (core::Widget *widget, core::style::Style *style)
core::Requisition size;
/* We first assign -1 as parent_ref, since the call of widget->size_request
- * will otherwise let this DwPage be rewrapped from the beginning.
+ * will otherwise let this Textblock be rewrapped from the beginning.
* (parent_ref is actually undefined, but likely has the value 0.) At the,
* end of this function, the correct value is assigned. */
widget->parentRef = -1;
@@ -1722,7 +1722,7 @@ void Textblock::addParbreak (int space, core::style::Style *style)
(hasListitemValue && words->size () == 1)) {
/* This is a bit hackish: If a break is added as the
first/second word of a page, and the parent widget is also a
- DwPage, and there is a break before -- this is the case when
+ Textblock, and there is a break before -- this is the case when
a widget is used as a text box (lists, blockquotes, list
items etc) -- then we simply adjust the break before, in a
way that the space is in any case visible. */
diff --git a/src/html.cc b/src/html.cc
index 4fd6ab91..3f5a10ba 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -1218,7 +1218,7 @@ static bool Html_match_tag(const char *tagstr, char *tag, int tagsize)
/*
* This function is called after popping the stack, to
- * handle nested DwPage widgets.
+ * handle nested Textblock widgets.
*/
static void Html_eventually_pop_dw(DilloHtml *html, bool hand_over_break)
{