mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-27 06:11:51 +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)
|
if (!zui->load_cwd)
|
||||||
{
|
{
|
||||||
zui->load_cwd = strdup(zui->set->menu_content_directory);
|
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
|
#ifdef _WIN32
|
||||||
|| (zui->load_cwd[strlen(zui->load_cwd)-1] == '\\')
|
|| (zui->load_cwd[strlen(zui->load_cwd)-1] == '\\')
|
||||||
#endif
|
#endif
|
||||||
@ -588,7 +588,7 @@ void render_lay_root(zui_t *zui)
|
|||||||
if (zui_list_item(zui, 0, tabbed.tabline_size + 40, "^ .."))
|
if (zui_list_item(zui, 0, tabbed.tabline_size + 40, "^ .."))
|
||||||
{
|
{
|
||||||
path_basedir(zui->load_cwd);
|
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
|
#ifdef _WIN32
|
||||||
|| (zui->load_cwd[strlen(zui->load_cwd)-1] == '\\')
|
|| (zui->load_cwd[strlen(zui->load_cwd)-1] == '\\')
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user