mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-15 05:19:41 -07:00
correctly use command titles in native file explorer
This commit is contained in:
1 parent
0e2b4ac5e7
commit
96cfb441fd
5 files changed
+11
-5
No files matched your search
@@ -13106,7 +13106,12 @@ rd_frame(void)
|
||||
{
|
||||
current_path_string = path_normalized_from_string(scratch.arena, get_current_path(scratch.arena));
|
||||
}
|
||||
String8 file_path = wm_graphical_pick_file(scratch.arena, current_path_string);
|
||||
String8 cmd_title = rd_display_from_code_name(info->string);
|
||||
if(cmd_title.size == 0)
|
||||
{
|
||||
cmd_title = info->string;
|
||||
}
|
||||
String8 file_path = wm_graphical_pick_file(scratch.arena, cmd_title, current_path_string);
|
||||
file_path = path_normalized_from_string(scratch.arena, file_path);
|
||||
if(file_path.size != 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user