mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 12:58:41 +00:00
trim obj paths pulled in from libs
This commit is contained in:
committed by
Ryan Fleury
parent
f2c7e69844
commit
ac261b3eed
@@ -74,7 +74,7 @@ lnk_error_with_loc_fv(LNK_ErrorCode code, String8 obj_path, String8 lib_path, ch
|
|||||||
String8 text = push_str8fv(scratch.arena, fmt, args);
|
String8 text = push_str8fv(scratch.arena, fmt, args);
|
||||||
if (obj_path.size) {
|
if (obj_path.size) {
|
||||||
if (lib_path.size) {
|
if (lib_path.size) {
|
||||||
lnk_error(code, "%S(%S): %S", lib_path, obj_path, text);
|
lnk_error(code, "%S(%S): %S", lib_path, str8_skip_last_slash(obj_path), text);
|
||||||
} else {
|
} else {
|
||||||
lnk_error(code, "%S: %S", obj_path, text);
|
lnk_error(code, "%S: %S", obj_path, text);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user