From 0ffd63fed9dcfb60be7378b6f53f0f1d011fd26c Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 24 May 2025 17:01:01 -0700 Subject: Tweaks --- src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/input.c') diff --git a/src/input.c b/src/input.c index 20551a6..4461c8b 100644 --- a/src/input.c +++ b/src/input.c @@ -52,7 +52,7 @@ static void GetTableRowColAtXy( for (col = 0; (col < table->cols) && (x > table->widths[col]); ++col) { x -= table->widths[col]; } - // 0 is the header and we want to map the first row to 0, so -1. + // 0 is the header, and we want to map the first row to 0, so -1. row = table->offset + ((p.y - widget->rect.y) / g_ui.font->header.glyph_height) - 1; // Out-of-bounds check. -- cgit v1.2.3