mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
fix incorrect bounds check in new per-line fstrs building path
This commit is contained in:
+1
-1
@@ -46,7 +46,7 @@ load_paths =
|
|||||||
commands =
|
commands =
|
||||||
{
|
{
|
||||||
//- rjf: [raddbg]
|
//- 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]
|
//- 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, },
|
// .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, },
|
||||||
|
|||||||
@@ -1279,7 +1279,7 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
|
|||||||
};
|
};
|
||||||
U64 line_idx = 0;
|
U64 line_idx = 0;
|
||||||
for(S64 line_num = params->line_num_range.min;
|
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)
|
line_num += 1, line_idx += 1)
|
||||||
{
|
{
|
||||||
String8 line_string = params->line_text[line_idx];
|
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;
|
U64 line_idx = 0;
|
||||||
for(S64 line_num = params->line_num_range.min;
|
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)
|
line_num += 1, line_idx += 1)
|
||||||
{
|
{
|
||||||
DR_FStrList line_fstrs = lines_fstrs[line_idx];
|
DR_FStrList line_fstrs = lines_fstrs[line_idx];
|
||||||
|
|||||||
Reference in New Issue
Block a user