mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 00:49:47 +00:00
fix escape characters, remove dupe line, add comment
This commit is contained in:
parent
a9ead799e6
commit
06221da8a1
@ -861,17 +861,19 @@ static void xmb_update_thumbnail_path(void *data, unsigned i)
|
||||
fill_pathname_join(xmb->thumbnail_file_path, xmb->thumbnail_file_path,
|
||||
xmb_thumbnails_ident(), sizeof(xmb->thumbnail_file_path));
|
||||
|
||||
/* Scrub characters that are not cross-platform safe from 'display name' in playlist and replace with underscore */
|
||||
tmp = string_replace_substring(entry.path, "&", "_");
|
||||
tmp = string_replace_substring(entry.path, "\", "_");
|
||||
tmp = string_replace_substring(entry.path, "\\", "_");
|
||||
tmp = string_replace_substring(entry.path, "/", "_");
|
||||
tmp = string_replace_substring(entry.path, "?", "_");
|
||||
tmp = string_replace_substring(entry.path, "\?", "_");
|
||||
tmp = string_replace_substring(entry.path, ":", "_");
|
||||
tmp = string_replace_substring(entry.path, "<", "_");
|
||||
tmp = string_replace_substring(entry.path, ">", "_");
|
||||
tmp = string_replace_substring(entry.path, ":", "_");
|
||||
tmp = string_replace_substring(entry.path, "*", "_");
|
||||
tmp = string_replace_substring(entry.path, "|", "_");
|
||||
|
||||
|
||||
/* Look for thumbnail file with the scrubbed filename */
|
||||
|
||||
if (tmp)
|
||||
{
|
||||
char tmp_new[PATH_MAX_LENGTH];
|
||||
|
Loading…
Reference in New Issue
Block a user