mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Silence clang warnings
This commit is contained in:
parent
911b9775a9
commit
201faccff9
@ -551,7 +551,7 @@ void render_lay_root(zui_t *zui)
|
||||
if (!zui->load_cwd)
|
||||
{
|
||||
zui->load_cwd = strdup(zui->set->menu_content_directory);
|
||||
if ((zui->load_cwd[strlen(zui->load_cwd)-1] == '/')
|
||||
if (zui->load_cwd[strlen(zui->load_cwd)-1] == '/'
|
||||
#ifdef _WIN32
|
||||
|| (zui->load_cwd[strlen(zui->load_cwd)-1] == '\\')
|
||||
#endif
|
||||
@ -588,7 +588,7 @@ void render_lay_root(zui_t *zui)
|
||||
if (zui_list_item(zui, 0, tabbed.tabline_size + 40, "^ .."))
|
||||
{
|
||||
path_basedir(zui->load_cwd);
|
||||
if ((zui->load_cwd[strlen(zui->load_cwd)-1] == '/')
|
||||
if (zui->load_cwd[strlen(zui->load_cwd)-1] == '/'
|
||||
#ifdef _WIN32
|
||||
|| (zui->load_cwd[strlen(zui->load_cwd)-1] == '\\')
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user