AmendHub

jcs

/

amend

/

amendments

/

59

tetab: Tweak selection hit testing, move over half a char width


jcs made amendment 59 8 months ago
--- tetab.c Thu Oct 21 17:10:02 2021 +++ tetab.c Thu Feb 3 17:01:46 2022 @@ -212,7 +212,7 @@ TETabHitTestHook(void) cpos++; - if (poffset <= (wpos * cwidth)) { + if (poffset <= (wpos * cwidth) - (cwidth / 2)) { found = 1; break; }