From 89daf15215586be13983ce3c3bb0f462668e59f6 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 26 Aug 2018 15:05:13 +0900 Subject: [PATCH] Fix a c&p error in a doc comment. --- include/QF/vrect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/QF/vrect.h b/include/QF/vrect.h index 4c0cba107..bb0f99061 100644 --- a/include/QF/vrect.h +++ b/include/QF/vrect.h @@ -100,7 +100,7 @@ vrect_t *VRect_Intersect (const vrect_t *r1, const vrect_t *r2); vrect_t *VRect_HSplit (const vrect_t *r, int y); /** Return two rectangles representing the portions of \a r to the left and - right of \a y. + right of \a x. One of the returned rectangles may be empty. Use VRect_IsEmpty to check. The first rectangle represents the portion of \a r that is to the left of @@ -111,7 +111,7 @@ vrect_t *VRect_HSplit (const vrect_t *r, int y); \param r The rectangle to split. \param x The vertical line by which \a r will be split. \return The two linked rectangles representing the portions to the - left and right of \a y. The returned pointer points to the + left and right of \a x. The returned pointer points to the first (left) rectangle, which links to the second (right) rectangle. \note It is the caller's responsibility to delete the returned