From 14bd959c76079f379862135f115f4d23743e6d15 Mon Sep 17 00:00:00 2001 From: Orual Date: Sun, 2 Aug 2026 19:31:12 -0400 Subject: [PATCH] PM-78: fix H1 - hash actual line-ending bytes Epic: PM-86 Task: PM-78 --- crates/polymodel-ldraw-core/src/scanner.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/polymodel-ldraw-core/src/scanner.rs b/crates/polymodel-ldraw-core/src/scanner.rs index cad502b..7a151a0 100644 --- a/crates/polymodel-ldraw-core/src/scanner.rs +++ b/crates/polymodel-ldraw-core/src/scanner.rs @@ -64,9 +64,9 @@ pub enum LineEnding { impl LineEnding { pub(crate) fn as_str(&self) -> &'static str { match self { - Self::Lf => "\\n", - Self::CrLf => "\\r\\n", - Self::Cr => "\\r", + Self::Lf => "\n", + Self::CrLf => "\r\n", + Self::Cr => "\r", Self::None => "", } } -- 2.51.2