ncmenu_mouse_selected: comment typo

dankamongmen/xcb
nick black 4 years ago
parent 34442f263f
commit a672790f2c
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -546,7 +546,7 @@ const char* ncmenu_mouse_selected(const ncmenu* n, const ncinput* click,
if(!ncplane_translate_abs(nc, &y, &x)){ if(!ncplane_translate_abs(nc, &y, &x)){
return NULL; 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 // 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, // 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. // find its boundaries, and verify that we are within them.

Loading…
Cancel
Save