mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-13 12:29:41 -07:00
rd: fix possible-overrides-from-file-path path to correctly use path styles
This commit is contained in:
1 parent
6e376e5615
commit
5f8e0a5aa9
1 file changed
+1
-3
@@ -593,9 +593,7 @@ rd_possible_overrides_from_file_path(Arena *arena, String8 file_path)
|
|||||||
{
|
{
|
||||||
str8_list_push(scratch.arena, &candidate_parts, p->string);
|
str8_list_push(scratch.arena, &candidate_parts, p->string);
|
||||||
}
|
}
|
||||||
StringJoin join = {0};
|
String8 candidate_path = str8_path_list_join_by_style(arena, &candidate_parts, src_style);
|
||||||
join.sep = str8_lit("/");
|
|
||||||
String8 candidate_path = str8_list_join(arena, &candidate_parts, &join);
|
|
||||||
str8_list_push(arena, &result, candidate_path);
|
str8_list_push(arena, &result, candidate_path);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user