aboutsummaryrefslogtreecommitdiff
path: root/dw
diff options
context:
space:
mode:
authorJorge Arellano Cid <devnull@localhost>2013-11-29 12:16:27 +0100
committerJorge Arellano Cid <devnull@localhost>2013-11-29 12:16:27 +0100
commit6849d366312901974812738e741f4007b5cff122 (patch)
tree003e6d6ebf8d870057396e3e3e2e1dd1e4285f9e /dw
parent83fce79180de7985ef99e727167c075fcbac29f5 (diff)
Typos.
Diffstat (limited to 'dw')
-rw-r--r--dw/style.cc4
-rw-r--r--dw/textblock.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/dw/style.cc b/dw/style.cc
index de9820eb..4ab5673a 100644
--- a/dw/style.cc
+++ b/dw/style.cc
@@ -611,7 +611,7 @@ void StyleImage::ExternalImgRenderer::drawRow (int row)
if (doDraw)
// Only iterate over y, because the rows can be combined
- // horizontically.
+ // horizontally.
for (int tileY = tileY1; tileY <= tileY2; tileY++) {
int x1 = misc::max (origX + tileX1 * imgWidth, x);
int x2 = misc::min (origX + (tileX2 + 1) * imgWidth, x + width);
@@ -1154,7 +1154,7 @@ void drawBackground (View *view, Layout *layout, Rectangle *area,
// image is set, and contents of <button> within a flat view, where the
// background image of the toplevel widget is set), only the background
// images are compared. A full test, which also deals with all other
- // attributes related to backgrond images (repeat, position etc.) would
+ // attributes related to background images (repeat, position etc.) would
// be complicated and useless, so not worth the work.
(!atTop || layout->getBgImage () != style->backgroundImage);
diff --git a/dw/textblock.cc b/dw/textblock.cc
index a45b3da5..6a75dc96 100644
--- a/dw/textblock.cc
+++ b/dw/textblock.cc
@@ -87,7 +87,7 @@ void Textblock::WordImgRenderer::getBgArea (int *x, int *y, int *width,
void Textblock::WordImgRenderer::getRefArea (int *xRef, int *yRef,
int *widthRef, int *heightRef)
{
- // See comment in Widget::drawBox about the reference area.q
+ // See comment in Widget::drawBox about the reference area.
textblock->getPaddingArea (xRef, yRef, widthRef, heightRef);
}