From a672790f2c8df6c2f2a2a2029e4ac9f20624be78 Mon Sep 17 00:00:00 2001 From: nick black Date: Thu, 15 Oct 2020 07:51:07 -0400 Subject: [PATCH] ncmenu_mouse_selected: comment typo --- src/lib/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/menu.c b/src/lib/menu.c index 8da052425..e2b98c326 100644 --- a/src/lib/menu.c +++ b/src/lib/menu.c @@ -546,7 +546,7 @@ const char* ncmenu_mouse_selected(const ncmenu* n, const ncinput* click, if(!ncplane_translate_abs(nc, &y, &x)){ return NULL; } - // FIXME section_x() works only off the section header lenghts, meaning that + // FIXME section_x() works only off the section header lengths, meaning that // if we click an item outside of those columns covered by the header, it will // read as a -1 from section_x(). we want to instead get the unrolled section, // find its boundaries, and verify that we are within them.