(XMB) Cut down on strlcpy/strlcat usage

This commit is contained in:
twinaphex 2015-06-07 16:49:05 +02:00
parent 017a61683b
commit 90efb2c10c

View File

@ -1665,12 +1665,10 @@ static void xmb_context_reset_horizontal_list(xmb_handle_t *xmb,
}
}
strlcpy(texturepath, iconpath, sizeof(texturepath));
strlcat(texturepath, core_id, sizeof(texturepath));
fill_pathname_join(texturepath, iconpath, core_id, sizeof(texturepath));
strlcat(texturepath, ".png", sizeof(texturepath));
strlcpy(content_texturepath, iconpath, sizeof(content_texturepath));
strlcat(content_texturepath, core_id, sizeof(content_texturepath));
fill_pathname_join(content_texturepath, iconpath, core_id, sizeof(content_texturepath));
strlcat(content_texturepath, "-content.png", sizeof(content_texturepath));
node->alpha = 0;