diff --git a/project.4coder b/project.4coder index 16c108c1..32a1e737 100644 --- a/project.4coder +++ b/project.4coder @@ -46,7 +46,7 @@ load_paths = commands = { //- rjf: [raddbg] - .f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg spall", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, + .f1 = { .win = "raddbg_stable --ipc kill_all && build raddbg telemetry", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, //- rjf: [textperf] // .f1 = { .win = "raddbg_stable --ipc kill_all && build no_meta telemetry textperf && raddbg_stable --ipc bring_to_front && raddbg_stable --ipc run", .linux = "", .out = "*compilation*", .footer_panel = true, .save_dirty_files = true, .cursor_at_end = false, }, diff --git a/src/raddbg/raddbg_widgets.c b/src/raddbg/raddbg_widgets.c index 40eaa452..69bc2f63 100644 --- a/src/raddbg/raddbg_widgets.c +++ b/src/raddbg/raddbg_widgets.c @@ -1279,7 +1279,7 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe }; U64 line_idx = 0; for(S64 line_num = params->line_num_range.min; - line_num < params->line_num_range.max; + line_num <= params->line_num_range.max; line_num += 1, line_idx += 1) { String8 line_string = params->line_text[line_idx]; @@ -1971,7 +1971,7 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe { U64 line_idx = 0; for(S64 line_num = params->line_num_range.min; - line_num < params->line_num_range.max; + line_num <= params->line_num_range.max; line_num += 1, line_idx += 1) { DR_FStrList line_fstrs = lines_fstrs[line_idx];