diff options
author | Gevel Tekens <geveltekens@gmail.com> | 2025-02-04 23:13:27 +0100 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-02-05 21:50:39 +0100 |
commit | 6cd133d2f242d36bd48ddea44acd868f70782d0b (patch) | |
tree | d6846c0e13706fb1dbb94885cb2980a639d22735 /dw/widget.cc | |
parent | 0c7e087fbd0278da9a39bd16ab9385073f1f495c (diff) |
Fix several typos
See: https://lists.mailman3.com/hyperkitty/list/dillo-dev@mailman3.com/thread/L3FFAINJJMIOZQNID5HC2DHKJIIIHEYH/
Diffstat (limited to 'dw/widget.cc')
-rw-r--r-- | dw/widget.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dw/widget.cc b/dw/widget.cc index 354b644d..0b8328cf 100644 --- a/dw/widget.cc +++ b/dw/widget.cc @@ -641,7 +641,7 @@ int Widget::getMinWidth (Extremes *extremes, bool forceValue) } } - // TODO Not completely clear whether this is feasable: Within + // TODO Not completely clear whether this is feasible: Within // the context of getAvailWidth(false) etc., getExtremes may not // be called. We ignore the minimal width then. if (extremes) @@ -969,7 +969,7 @@ int Widget::calcWidth (style::Length cssValue, int refWidth, Widget *refWidget, } /** - * Computes the final width if posible and constraints it by min-width and + * Computes the final width if possible and constraints it by min-width and * max-width. * * This function performs a very particular computation. It will try to find the @@ -981,7 +981,7 @@ int Widget::calcWidth (style::Length cssValue, int refWidth, Widget *refWidget, * to auto. * * If both the initial *finalWidth and the style with are -1, the value will be - * left as is, even if min-width and max-width could contraint the size. For the + * left as is, even if min-width and max-width could constraint the size. For the * width to be constrained, either the initial *finalWidth or the computed width * should return an absolute value. * @@ -1604,7 +1604,7 @@ int Widget::getLevel () } /** - * \brief Get the level of the widget within the tree, regarting the + * \brief Get the level of the widget within the tree, regarding the * generators, not the parents. * * The root widget has the level 0. @@ -1772,7 +1772,7 @@ int Widget::applyPerHeight (int containerHeight, style::Length perHeight) * @param child The child widget of which the available width will be * computed. * @param forceValue If true, computes the width of the child with value - * "auto". Otherwise, it wont. + * "auto". Otherwise, it won't. * * @return The available width in pixels or -1. */ @@ -2002,7 +2002,7 @@ bool Widget::correctReqAspectRatio (int pass, Widget *child, Requisition *requis if (allowDecreaseHeight) { /* FIXME: This may lose cases where allowDecreaseHeight is false, and * the requisition has increased the height first, but we could still - * reduce the corrected hight above the original height, without + * reduce the corrected height above the original height, without * making the requisition height smaller. */ int h = (float) wReq / ratio; DEBUG_MSG(1, "decrease h: %d -> %d\n", hReq, h); @@ -2078,7 +2078,7 @@ void Widget::correctReqHeightOfChild (Widget *child, Requisition *requisition, void (*splitHeightFun) (int, int*, int*), bool allowDecreaseHeight) { - // TODO Correct height by extremes? (Height extemes?) + // TODO Correct height by extremes? (Height extremes?) assert (this == child->quasiParent || this == child->container); |