mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-13 07:32:23 -07: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);
|
||||
if (obj_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 {
|
||||
lnk_error(code, "%S: %S", obj_path, text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user