diff options
author | alberth <alberth@openttd.org> | 2009-12-13 21:05:38 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-12-13 21:05:38 +0000 |
commit | a8e9891f4525d1ee4f55b908e30f48ad5fab4b9d (patch) | |
tree | ed431ec08985e2b7ff6977c4a956c6a12ce91c04 /src | |
parent | 57e6c7fdb726f2aca6818617cc4b1eda0ba72b9a (diff) | |
download | openttd-a8e9891f4525d1ee4f55b908e30f48ad5fab4b9d.tar.xz |
(svn r18491) -Fix (r18482): Update doxy comments of SetupSmallestSize() as well.
Diffstat (limited to 'src')
-rw-r--r-- | src/widget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index aaf36ad17..f824138a8 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -651,11 +651,11 @@ NWidgetBase::NWidgetBase(WidgetType tp) : ZeroedMemoryAllocator() * * The smallest size of a widget is the smallest size that a widget needs to * display itself properly. In addition, filling and resizing of the widget are computed. - * If \a w is not \c NULL, the function calls #Window::UpdateWidgetSize for each leaf widget and + * The function calls #Window::UpdateWidgetSize for each leaf widget and * background widget without child with a non-negative index. * - * @param w Optional window owning the widget. - * @param init_array Initialize the \c w->nested_array as well. Should only be set if \a w != NULL. + * @param w Window owning the widget. + * @param init_array Initialize the \c w->nested_array. * * @note After the computation, the results can be queried by accessing the #smallest_x and #smallest_y data members of the widget. */ |