From dec7deca3c61d8d13edef6063c4ecb6d43ad348c Mon Sep 17 00:00:00 2001 From: Daniel Henry-Mantilla Date: Wed, 17 Sep 2025 19:38:57 +0200 Subject: [PATCH] Fix inverted "full printing" polarity logic --- src/capture.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/capture.rs b/src/capture.rs index eb672593..e7de8792 100644 --- a/src/capture.rs +++ b/src/capture.rs @@ -498,7 +498,7 @@ impl fmt::Debug for Backtrace { let mut print_path = move |fmt: &mut fmt::Formatter<'_>, path: crate::BytesOrWideString<'_>| { let path = path.into_path_buf(); - if style == PrintFmt::Full { + if style != PrintFmt::Full { if let Ok(cwd) = &cwd { if let Ok(suffix) = path.strip_prefix(cwd) { return fmt::Display::fmt(&suffix.display(), fmt);