mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(file_path.c) fill_pathname_join - do away with one less strlcat
This commit is contained in:
parent
819337d5d4
commit
f4c22cb236
@ -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…
x
Reference in New Issue
Block a user