Skip to content
Snippets Groups Projects
Commit 27f8668c authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix printf format issue in previous commit.

parent 9f772107
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2582 passed
......@@ -568,7 +568,7 @@ char* getfilevpath(scfg_t* cfg, file_t* f, char* path)
const char* name = f->name == NULL ? f->file_idx.name : f->name;
if(f->dir >= cfg->total_dirs)
return "";
safe_snprintf(path, MAX_PATH, "%s/%s"
safe_snprintf(path, MAX_PATH, "%s/%s/%s"
,cfg->lib[cfg->dir[f->dir]->lib]->sname, cfg->dir[f->dir]->code_suffix, name);
return path;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment