mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(file_path.c) fill_pathname_join - do away with one less strlcat
This commit is contained in:
parent
819337d5d4
commit
f4c22cb236
1 changed files with 4 additions and 1 deletions
|
@ -927,7 +927,10 @@ size_t fill_pathname_join(char *out_path,
|
|||
}
|
||||
}
|
||||
else
|
||||
strlcat(out_path, PATH_DEFAULT_SLASH(), size);
|
||||
{
|
||||
out_path[len] = PATH_DEFAULT_SLASH_C();
|
||||
out_path[len+1] = '\0';
|
||||
}
|
||||
}
|
||||
|
||||
return strlcat(out_path, path, size);
|
||||
|
|
Loading…
Add table
Reference in a new issue