mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
fix filesystem lister names
This commit is contained in:
@@ -1516,8 +1516,12 @@ df_display_string_from_entity(Arena *arena, DF_Entity *entity)
|
|||||||
|
|
||||||
case DF_EntityKind_Module:
|
case DF_EntityKind_Module:
|
||||||
{
|
{
|
||||||
result = push_str8_copy(arena, entity->name);
|
result = push_str8_copy(arena, str8_skip_last_slash(entity->name));
|
||||||
result = str8_skip_last_slash(result);
|
}break;
|
||||||
|
|
||||||
|
case DF_EntityKind_RecentProject:
|
||||||
|
{
|
||||||
|
result = push_str8_copy(arena, str8_skip_last_slash(entity->name));
|
||||||
}break;
|
}break;
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
@@ -2856,7 +2856,7 @@ DF_VIEW_UI_FUNCTION_DEF(FileSystem)
|
|||||||
// rjf: filename
|
// rjf: filename
|
||||||
UI_PrefWidth(ui_pct(1, 0))
|
UI_PrefWidth(ui_pct(1, 0))
|
||||||
{
|
{
|
||||||
UI_Box *box = ui_build_box_from_stringf(UI_BoxFlag_DrawText, "%S##%p", file->filename, view);
|
UI_Box *box = ui_build_box_from_string(UI_BoxFlag_DrawText|UI_BoxFlag_DisableIDString, file->filename);
|
||||||
ui_box_equip_fuzzy_match_ranges(box, &file->match_ranges);
|
ui_box_equip_fuzzy_match_ranges(box, &file->match_ranges);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user