summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/newgrf_text.cpp2
-rw-r--r--src/news_gui.cpp2
-rw-r--r--src/widget.cpp2
-rw-r--r--src/widget_type.h6
4 files changed, 6 insertions, 6 deletions
diff --git a/src/newgrf_text.cpp b/src/newgrf_text.cpp
index 59edbb22e..a0f5cb9d7 100644
--- a/src/newgrf_text.cpp
+++ b/src/newgrf_text.cpp
@@ -91,7 +91,7 @@ StringID TTDPStringIDToOTTDStringIDMapping(StringID str)
}
/**
- * Explains the newgrf shift bit positionning.
+ * Explains the newgrf shift bit positioning.
* the grf base will not be used in order to find the string, but rather for
* jumping from standard langID scheme to the new one.
*/
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index b1ca87f7d..8362de96d 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -658,7 +658,7 @@ static void MoveToNextItem()
* @param ref2 Reference 2 to some object: Used for scrolling after clicking on the news, and for deleteing the news when the object is deleted.
* @param free_data Pointer to data that must be freed once the news message is cleared
*
- * @see NewsSubype
+ * @see NewsSubtype
*/
void AddNewsItem(StringID string, NewsSubtype subtype, NewsReferenceType reftype1, uint32 ref1, NewsReferenceType reftype2, uint32 ref2, void *free_data)
{
diff --git a/src/widget.cpp b/src/widget.cpp
index f824138a8..beda0b03d 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -702,7 +702,7 @@ inline void NWidgetBase::StoreSizePosition(SizingType sizing, uint x, uint y, ui
}
/**
- * @fn void Draw(const Window *w)
+ * @fn void NWidgetBase::Draw(const Window *w)
* Draw the widgets of the tree.
* The function calls #Window::DrawWidget for each widget with a non-negative index, after the widget itself is painted.
* @param w Window that owns the tree.
diff --git a/src/widget_type.h b/src/widget_type.h
index 8cc214888..549db6236 100644
--- a/src/widget_type.h
+++ b/src/widget_type.h
@@ -632,8 +632,8 @@ static inline NWidgetPart SetMinimalTextLines(uint8 lines, uint8 spacing, FontSi
/**
* Widget part function for setting filling.
- * @param x_fill Allow horizontal filling from minimal size.
- * @param y_fill Allow vertical filling from minimal size.
+ * @param fill_x Horizontal filling step from minimal size.
+ * @param fill_y Vertical filling step from minimal size.
* @ingroup NestedWidgetParts
*/
static inline NWidgetPart SetFill(uint fill_x, uint fill_y)
@@ -750,7 +750,7 @@ static inline NWidgetPart NWidget(WidgetType tp, Colours col, int16 idx = -1)
/**
* Widget part function for starting a new horizontal container, vertical container, or spacer widget.
- * @param tp Type of the new nested widget, #NWID_HORIZONTAL(_LTR), #NWID_VERTICAL, #NWID_SPACER, #NWID_SELECTION, or #NWID_LAYERED.
+ * @param tp Type of the new nested widget, #NWID_HORIZONTAL(_LTR), #NWID_VERTICAL, #NWID_SPACER, or #NWID_SELECTION.
* @param cont_flags Flags for the containers (#NWID_HORIZONTAL(_LTR) and #NWID_VERTICAL).
* @ingroup NestedWidgetParts
*/