Fix lens.c compile error: add missing Xft/fontconfig headers

- lens.c: add #include <X11/Xft/Xft.h> and <fontconfig/fontconfig.h>
  (XftFont, XGlyphInfo, etc. were declared but the header was never included)
- quill.c: remove unused flen variable in ed_find_next()
- rigel.c: remove unused get_file() helper (get_fidx() is used throughout)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
nmemmertandClaude Sonnet 4.6 committed 2026-07-24 10:21:39 -04:00
1 parent e03462b61b
commit ab4bca672d
3 files changed
+2 -9

No files matched your search

-8
View File
@@ -302,14 +302,6 @@ static void search_filter(Rigel *r) {
}
static int get_nvis(Rigel *r) { return r->search_on ? r->nfiltered : r->nfiles; }
static FileEntry *get_file(Rigel *r, int vis_idx) {
if (r->search_on) {
if (vis_idx < 0 || vis_idx >= r->nfiltered) return NULL;
return &r->files[r->filtered[vis_idx]];
}
if (vis_idx < 0 || vis_idx >= r->nfiles) return NULL;
return &r->files[vis_idx];
}
/* translate visual row (vis_idx) → files[] index */
static int get_fidx(Rigel *r, int vis_idx) {
if (r->search_on) {