From 2e01c4c217b28b9d4a1574d71d133ec14c7e45bf Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 2 Nov 2021 01:17:19 -0400 Subject: [PATCH] [ncvisual_blit] improve documentation --- USAGE.md | 2 +- include/notcurses/notcurses.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/USAGE.md b/USAGE.md index 6c4054ca2..063b96a4f 100644 --- a/USAGE.md +++ b/USAGE.md @@ -3372,7 +3372,7 @@ And finally, the `ncvisual` can be blitted to one or more `ncplane`s: // set, and vopts->n is NULL, a new plane is created as root of a new pile. // If the flag is not set and vopts->n is not NULL, we render to vopts->n. // A subregion of the visual can be rendered using 'begx', 'begy', 'lenx', and -// 'leny'. Negative values for 'begy' or 'begx' are an error. It is an error to +// 'leny'. Negative values for any of thse are an error. It is an error to // specify any region beyond the boundaries of the frame. Returns the (possibly // newly-created) plane to which we drew. Pixels may not be blitted to the // standard plane. diff --git a/include/notcurses/notcurses.h b/include/notcurses/notcurses.h index 679998221..b45bbd66f 100644 --- a/include/notcurses/notcurses.h +++ b/include/notcurses/notcurses.h @@ -2984,7 +2984,7 @@ API struct ncplane* ncvisual_render(struct notcurses* nc, struct ncvisual* ncv, // set, and vopts->n is NULL, a new plane is created as root of a new pile. // If the flag is not set and vopts->n is not NULL, we render to vopts->n. // A subregion of the visual can be rendered using 'begx', 'begy', 'lenx', and -// 'leny'. Negative values for 'begy' or 'begx' are an error. It is an error to +// 'leny'. Negative values for any of these are an error. It is an error to // specify any region beyond the boundaries of the frame. Returns the (possibly // newly-created) plane to which we drew. Pixels may not be blitted to the // standard plane.