diff --git a/menu/drivers/zarch.c b/menu/drivers/zarch.c index 50a35e4836..22facc06a7 100644 --- a/menu/drivers/zarch.c +++ b/menu/drivers/zarch.c @@ -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