mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-25 05:04:58 -07:00
fix go-to-location path to adjust for no file entities; write single deserialization path for all entities, instead of handwritten special casedo nes
This commit is contained in:
@@ -1593,7 +1593,7 @@ indented_from_string(Arena *arena, String8 string)
|
||||
{
|
||||
str8_list_pushf(scratch.arena, &indented_strings, "%.*s%S\n", (int)depth*2, indentation_bytes, line);
|
||||
}
|
||||
if(line.size == 0 && indented_strings.node_count != 0)
|
||||
if(line.size == 0 && indented_strings.node_count != 0 && off < string.size)
|
||||
{
|
||||
str8_list_pushf(scratch.arena, &indented_strings, "\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user