From 7a45d1553df3f02697fcee933e97f78a5a925e1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?joseLu=C3=ADs?= Date: Wed, 24 Nov 2021 02:22:08 +0100 Subject: [PATCH] [docs] fix ncplane_erase_region examples in USAGE --- USAGE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/USAGE.md b/USAGE.md index a076afc8f..9998e0fb2 100644 --- a/USAGE.md +++ b/USAGE.md @@ -908,8 +908,8 @@ void ncplane_erase(struct ncplane* n); // (-1, -1, 0, -1): clears the column to the left of the cursor (column 4) // (-1, -1, INT_MAX, 0): clears all rows with or below the cursor (rows 10--19) // (-1, -1, -INT_MAX, 0): clears all rows with or above the cursor (rows 0--10) -// (-1, 4, 3, 3): clears from row 10, column 4 through row 12, column 6 -// (-1, 4, 3, 3): clears from row 10, column 4 through row 8, column 2 +// (-1, 4, 3, 3): clears from row 5, column 4 through row 7, column 6 +// (-1, 4, -3, -3): clears from row 5, column 4 through row 3, column 2 // (4, -1, 0, 3): clears columns 5, 6, and 7 // (-1, -1, 0, 0): clears the plane *if the cursor is in a legal position* // (0, 0, 0, 0): clears the plane in all cases