Skip to content

Commit 2f7434c

Browse files
committed
always use pending-file when doing a file switch
1 parent b02c67b commit 2f7434c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raddbg/raddbg_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14152,7 +14152,7 @@ rd_frame(void)
1415214152
{
1415314153
rd_cmd(RD_CmdKind_OpenTab,
1415414154
.string = rd_eval_string_from_file_path(scratch.arena, recent_file_path),
14155-
.params_tree = md_tree_from_string(scratch.arena, src_view->spec->string)->first);
14155+
.params_tree = md_tree_from_string(scratch.arena, rd_view_rule_kind_info_table[RD_ViewRuleKind_PendingFile].string)->first);
1415614156
}
1415714157
else
1415814158
{

0 commit comments

Comments
 (0)