aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/dw-layout-widgets.doc4
-rw-r--r--dw/style.hh2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/dw-layout-widgets.doc b/doc/dw-layout-widgets.doc
index d488efd8..e0215562 100644
--- a/doc/dw-layout-widgets.doc
+++ b/doc/dw-layout-widgets.doc
@@ -5,7 +5,7 @@ widgets. A widget represents a given part of the document, e.g. a text
block, a table, or an image. Widgets may be nested, so layouting and
drawing may be delegated by one widget to its child widgets.
-Where do define the borders of a widget, wheather to combine different
+Where to define the borders of a widget, whether to combine different
widgets to one, or to split one widget into multiple ones, should be
considered based on different concerns:
@@ -22,7 +22,7 @@ considered based on different concerns:
<li> Since some widgets are already rather complex, an important goal
is to keep the implementation of the widget simple.
-<li> Furthermore, the granularity should not be to fine, because of the
+<li> Furthermore, the granularity should not be too fine, because of the
overhead each single widget adds.
</ul>
diff --git a/dw/style.hh b/dw/style.hh
index 04a5e22e..c32476e3 100644
--- a/dw/style.hh
+++ b/dw/style.hh
@@ -64,7 +64,7 @@ namespace core {
* attribute, which is supported by dillo, will refer to an attribute in
* dw::core::style::Style. For this reason, the attributes in
* dw::core::style::Style get the names from the CSS attributes, with
- * "camelCase" instead of hythens (e.g. "background-color" becomes
+ * "camelCase" instead of hyphens (e.g. "background-color" becomes
* "backgroundColor").
*
* However, dw::core::style::Style will be extended by some more