mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-31 08:33:40 +00:00
(RMenu) Use fill_pathname_join instead of messy snprintf with hardcoded
path separator string
This commit is contained in:
parent
e4beacd663
commit
96289960d5
@ -499,7 +499,7 @@ static bool osk_callback_enter_filename(void *data)
|
||||
break;
|
||||
case SHADER_PRESET_FILE:
|
||||
{
|
||||
snprintf(filepath, sizeof(filepath), "%s/%s.cgp", g_settings.video.shader_dir, tmp_str);
|
||||
fill_pathname_join(filepath, g_settings.video.shader_dir, tmp_str, sizeof(filepath));
|
||||
RARCH_LOG("[osk_callback_enter_filename]: filepath is: %s.\n", filepath);
|
||||
config_file_t *conf = config_file_new(NULL);
|
||||
if (!conf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user