Commit 27f8668c authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Fix printf format issue in previous commit.

parent 9f772107
Pipeline #2582 passed with stage
in 12 minutes
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment