fix RGUI file browser

This commit is contained in:
ToadKing 2013-04-11 21:00:13 -04:00
parent e4089af307
commit ded105746c
1 changed files with 1 additions and 1 deletions

View File

@ -1714,7 +1714,7 @@ static bool directory_parse(rgui_handle_t *rgui, const char *directory, unsigned
path = path_basename(path); path = path_basename(path);
rgui_list_push(ctx, path, rgui_list_push(ctx, path,
is_dir ? menu_type : RGUI_FILE_PLAIN, 0); is_dir ? RGUI_FILE_DIRECTORY : RGUI_FILE_PLAIN, 0);
} }
string_list_free(list); string_list_free(list);