mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
Merge pull request #1323 from jeapostrophe/master
Fix off-by-1 dir in iOS browser
This commit is contained in:
commit
a4b92ca74c
@ -426,7 +426,10 @@ static void RunActionSheet(const char* title, const struct string_list* items, U
|
||||
self.setting->action_toggle( self.setting, MENU_ACTION_RIGHT );
|
||||
}
|
||||
|
||||
path = [BOXSTRING(self.setting->value.string) stringByDeletingLastPathComponent];
|
||||
path = BOXSTRING(self.setting->value.string);
|
||||
if ( self.setting->type == ST_PATH ) {
|
||||
path = [path stringByDeletingLastPathComponent];
|
||||
}
|
||||
list = [[RADirectoryList alloc] initWithPath:path extensions:self.setting->values action:
|
||||
^(RADirectoryList* list, RADirectoryItem* item)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user