From d2f57931a1df548903d374ca86bae580d2fcb285 Mon Sep 17 00:00:00 2001 From: retoor <retoor@molodetz.nl> Date: Mon, 7 Apr 2025 10:24:38 +0200 Subject: [PATCH] Glob fix. --- tools.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools.h b/tools.h index 1267b71..181c306 100644 --- a/tools.h +++ b/tools.h @@ -845,8 +845,8 @@ char *tool_function_directory_rglob(char *target_dir) { results.gl_pathc = 0; struct stat file_stat; char mod_time[20], create_time[20]; - -` if(!strcmp(target_dir, ".")) { + + if(!strcmp(target_dir, ".")) { target_dir[0] = '*'; }