From c30c879ed3db8b733c3841ae6c1d364fd366ad8e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 27 Feb 2026 17:09:35 +0200 Subject: misc: nit --- dfm.c | 4 ++-- lib/util.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dfm.c b/dfm.c index 566eeb3..6162d3a 100644 --- a/dfm.c +++ b/dfm.c @@ -2004,7 +2004,7 @@ fm_path_cd(struct fm *p, const char *d, usize l) p->pwd.l = 0; str_push(&p->pwd, d, l); str_terminate(&p->pwd); - usize nl = fm_path_resolve(p->pwd.m, p->pwd.l); + usize nl = path_resolve(p->pwd.m, p->pwd.l); p->pwd.l = nl; int r = fm_path_open(p); if (!r) { @@ -2047,7 +2047,7 @@ fm_path_cd_relative(struct fm *p, const char *d, u8 l) if (p->pwd.l > 1) str_push_c(&p->pwd, '/'); str_push(&p->pwd, d, l); str_terminate(&p->pwd); - usize nl = fm_path_resolve(p->pwd.m, p->pwd.l); + usize nl = path_resolve(p->pwd.m, p->pwd.l); p->pwd.l = nl; int r = fm_path_open(p); if (!r) { diff --git a/lib/util.h b/lib/util.h index 819e939..9cbc547 100644 --- a/lib/util.h +++ b/lib/util.h @@ -311,7 +311,7 @@ tz_offset(void) } static inline usize -fm_path_resolve(char *s, usize l) +path_resolve(char *s, usize l) { char *m = s; usize i = 0, w = 0; -- cgit v1.2.3