mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-28 08:33:21 -08:00
guard against relative path nodes
This commit is contained in:
1 parent
e17bcd3058
commit
bcf248682c
3 files changed
+6
-5
No files matched your search
@@ -2862,8 +2862,7 @@ d2r_convert(Arena *arena, D2R_ConvertParams *params)
|
||||
String8 path;
|
||||
{
|
||||
Temp temp = temp_begin(scratch.arena);
|
||||
PathStyle path_style = PathStyle_Null;
|
||||
path_style = path_style_from_str8(lookup->vm->header.dir_table.v[src->dir_idx]);
|
||||
PathStyle path_style = path_style_from_str8(lookup->vm->header.dir_table.v[src->dir_idx]);
|
||||
if (path_style == PathStyle_Relative) {
|
||||
path_style = path_style_from_str8(src->path);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user