(file_path.c) fill_pathname_join - do away with one less strlcat

This commit is contained in:
LibretroAdmin 2022-08-03 23:54:10 +02:00
parent 819337d5d4
commit f4c22cb236

View File

@ -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);