summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-10 20:15:14 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-10 20:15:14 +0000
commit33eb1f413a03042b330796780cb29ae74894c9fd (patch)
tree77afefe532b7d40d4950b7c2b2ab73bb597289cd /render
parent345cfc4ec8085fb4b14b90e305788a60ffa106e4 (diff)
downloadnetsurf-33eb1f413a03042b330796780cb29ae74894c9fd.tar.gz
netsurf-33eb1f413a03042b330796780cb29ae74894c9fd.tar.bz2
Doxygen warning fixes
Diffstat (limited to 'render')
-rw-r--r--render/box.c4
-rw-r--r--render/box_construct.c8
-rw-r--r--render/box_normalise.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/render/box.c b/render/box.c
index fb8a66c4b..3557e6c47 100644
--- a/render/box.c
+++ b/render/box.c
@@ -712,7 +712,7 @@ struct box *box_at_point(struct box *box, const int x, const int y,
* updated if box is nearer than existing nearest
* \param nr_xd distance to nearest text box found
* updated if box is nearer than existing nearest
- * \param ny_yd distance to nearest text box found
+ * \param nr_yd distance to nearest text box found
* updated if box is nearer than existing nearest
* \return true if mouse point is inside box
*/
@@ -784,7 +784,7 @@ static bool box_nearer_text_box(struct box *box, int bx, int by,
* updated if a descendant of box is nearer than old nearest
* \param nr_xd distance to nearest text box found
* updated if a descendant of box is nearer than old nearest
- * \param ny_yd distance to nearest text box found
+ * \param nr_yd distance to nearest text box found
* updated if a descendant of box is nearer than old nearest
* \return true if mouse point is inside text_box
*/
diff --git a/render/box_construct.c b/render/box_construct.c
index 0e4940683..95d9f6152 100644
--- a/render/box_construct.c
+++ b/render/box_construct.c
@@ -454,9 +454,9 @@ void convert_xml_to_box(struct box_construct_ctx *ctx)
*
* \param box Box to attach marker to
* \param title Current title attribute
- * \param content Containing content
+ * \param ctx Box construction context
* \param parent Current block-level container
- * \return True on success, false on memory exhaustion
+ * \return true on success, false on memory exhaustion
*/
static bool box_construct_marker(struct box *box, const char *title,
struct box_construct_ctx *ctx, struct box *parent)
@@ -1921,9 +1921,9 @@ bool box_frameset(BOX_SPECIAL_PARAMS)
/**
- * Destructor for content_html_frames, for <frame> elements
+ * Destructor for content_html_frames, for frame elements
*
- * \param b The frame params being destroyed.
+ * \param f The frame params being destroyed.
* \return 0 to allow talloc to continue destroying the tree.
*/
static int box_frames_talloc_destructor(struct content_html_frames *f)
diff --git a/render/box_normalise.c b/render/box_normalise.c
index 0c91fa3fd..861ad741e 100644
--- a/render/box_normalise.c
+++ b/render/box_normalise.c
@@ -80,9 +80,9 @@ static bool box_normalise_inline_container(struct box *cont, html_content *c);
/**
* Ensure the box tree is correctly nested by adding and removing nodes.
*
- * \param block box of type BLOCK, INLINE_BLOCK, or TABLE_CELL
- * \param box_pool pool to allocate new boxes in
- * \return true on success, false on memory exhaustion
+ * \param block box of type BLOCK, INLINE_BLOCK, or TABLE_CELL
+ * \param c content of boxes
+ * \return true on success, false on memory exhaustion
*
* The tree is modified to satisfy the following:
* \code