From d47b57af8a6afc810cad95f50cbbe9f15148864e Mon Sep 17 00:00:00 2001 From: ExPikaPaka Date: Fri, 10 Jul 2026 08:12:01 +0200 Subject: [PATCH] strip UTF-8 BOM from PrintConfig.cpp, Print.cpp, Tab.cpp The Linux CI build fails at the encoding-check step: "Source file is valid UTF-8 but contains a BOM mark" These three files picked up a UTF-8 BOM (EF BB BF) during Windows-side merges/edits. Removed the BOM (first 3 bytes only); file contents and line endings are otherwise unchanged. --- src/libslic3r/Print.cpp | 2 +- src/libslic3r/PrintConfig.cpp | 2 +- src/slic3r/GUI/Tab.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index 06959e9119..c1375fd0cf 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -1,4 +1,4 @@ -#include "Config.hpp" +#include "Config.hpp" #include "Exception.hpp" #include "Print.hpp" #include "BoundingBox.hpp" diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 0e5970a5e9..034a74e8d1 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -1,4 +1,4 @@ -#include "PrintConfig.hpp" +#include "PrintConfig.hpp" #include "PrintConfigConstants.hpp" #include "ClipperUtils.hpp" #include "Config.hpp" diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index b96e2c8779..8087052469 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -1,4 +1,4 @@ -// #include "libslic3r/GCodeSender.hpp" +// #include "libslic3r/GCodeSender.hpp" //#include "slic3r/Utils/Serial.hpp" #include "Tab.hpp" #include "PresetHints.hpp"