diff options
author | alberth <alberth@openttd.org> | 2009-12-13 20:54:52 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-12-13 20:54:52 +0000 |
commit | 57e6c7fdb726f2aca6818617cc4b1eda0ba72b9a (patch) | |
tree | bf2ba65c21812eff168a3dd51aafa80682358f02 /src/widget.cpp | |
parent | 7c4eaf73a78b0265b629bb91c9c03d7a6f5032b9 (diff) | |
download | openttd-57e6c7fdb726f2aca6818617cc4b1eda0ba72b9a.tar.xz |
(svn r18490) -Doc: Fixed syntax of a few doxygen pre and post coditions.
Diffstat (limited to 'src/widget.cpp')
-rw-r--r-- | src/widget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widget.cpp b/src/widget.cpp index fd01b65f6..aaf36ad17 100644 --- a/src/widget.cpp +++ b/src/widget.cpp @@ -2089,7 +2089,7 @@ bool NWidgetLeaf::ButtonHit(const Point &pt) * @param fill_dest Fill the composed widget with child widgets. * @param biggest_index Pointer to biggest nested widget index in the tree encountered so far. * @return Number of widget part elements used to compose the widget. - * @precond \c biggest_index != NULL. + * @pre \c biggest_index != NULL. */ static int MakeNWidget(const NWidgetPart *parts, int count, NWidgetBase **dest, bool *fill_dest, int *biggest_index) { @@ -2237,7 +2237,7 @@ static int MakeNWidget(const NWidgetPart *parts, int count, NWidgetBase **dest, * @param parent Container to use for storing the child widgets. * @param biggest_index Pointer to biggest nested widget index in the tree. * @return Number of widget part elements used to fill the container. - * @postcond \c *biggest_index contains the largest widget index of the tree and \c -1 if no index is used. + * @post \c *biggest_index contains the largest widget index of the tree and \c -1 if no index is used. */ static int MakeWidgetTree(const NWidgetPart *parts, int count, NWidgetBase *parent, int *biggest_index) { |