Skip to content

Commit 0f130c5

Browse files
Fix inverted "full printing" polarity logic (#726)
1 parent b134a1f commit 0f130c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/capture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ impl fmt::Debug for Backtrace {
498498
let mut print_path =
499499
move |fmt: &mut fmt::Formatter<'_>, path: crate::BytesOrWideString<'_>| {
500500
let path = path.into_path_buf();
501-
if style == PrintFmt::Full {
501+
if style != PrintFmt::Full {
502502
if let Ok(cwd) = &cwd {
503503
if let Ok(suffix) = path.strip_prefix(cwd) {
504504
return fmt::Display::fmt(&suffix.display(), fmt);

0 commit comments

Comments
 (0)