mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Cleanup - it shouldn't be necessary to call fill_pathname_slash
after fill_pathname_join
This commit is contained in:
parent
aacc544300
commit
419fe62da8
@ -179,9 +179,6 @@ void fill_pathname_application_special(char *s,
|
|||||||
fill_pathname_join(s2, s1, "png",
|
fill_pathname_join(s2, s1, "png",
|
||||||
PATH_MAX_LENGTH * sizeof(char)
|
PATH_MAX_LENGTH * sizeof(char)
|
||||||
);
|
);
|
||||||
fill_pathname_slash(s2,
|
|
||||||
PATH_MAX_LENGTH * sizeof(char)
|
|
||||||
);
|
|
||||||
strlcpy(s, s2, len);
|
strlcpy(s, s2, len);
|
||||||
free(s1);
|
free(s1);
|
||||||
free(s2);
|
free(s2);
|
||||||
@ -324,9 +321,6 @@ void fill_pathname_application_special(char *s,
|
|||||||
fill_pathname_application_special(s1,
|
fill_pathname_application_special(s1,
|
||||||
PATH_MAX_LENGTH * sizeof(char),
|
PATH_MAX_LENGTH * sizeof(char),
|
||||||
APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI);
|
APPLICATION_SPECIAL_DIRECTORY_ASSETS_MATERIALUI);
|
||||||
fill_pathname_slash(s1,
|
|
||||||
PATH_MAX_LENGTH * sizeof(char)
|
|
||||||
);
|
|
||||||
strlcpy(s, s1, len);
|
strlcpy(s, s1, len);
|
||||||
|
|
||||||
free(s1);
|
free(s1);
|
||||||
@ -390,9 +384,6 @@ void fill_pathname_application_special(char *s,
|
|||||||
s1, "avatars",
|
s1, "avatars",
|
||||||
PATH_MAX_LENGTH * sizeof(char)
|
PATH_MAX_LENGTH * sizeof(char)
|
||||||
);
|
);
|
||||||
fill_pathname_slash(s2,
|
|
||||||
PATH_MAX_LENGTH * sizeof(char)
|
|
||||||
);
|
|
||||||
strlcpy(s, s2, len);
|
strlcpy(s, s2, len);
|
||||||
free(s1);
|
free(s1);
|
||||||
free(s2);
|
free(s2);
|
||||||
@ -415,9 +406,6 @@ void fill_pathname_application_special(char *s,
|
|||||||
s1, "badges",
|
s1, "badges",
|
||||||
PATH_MAX_LENGTH * sizeof(char)
|
PATH_MAX_LENGTH * sizeof(char)
|
||||||
);
|
);
|
||||||
fill_pathname_slash(s2,
|
|
||||||
PATH_MAX_LENGTH * sizeof(char)
|
|
||||||
);
|
|
||||||
strlcpy(s, s2, len);
|
strlcpy(s, s2, len);
|
||||||
free(s1);
|
free(s1);
|
||||||
free(s2);
|
free(s2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user