From 6de8f4c7cddaac3c6ecaf5a68858ca141e8e18d4 Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 20 May 2026 19:18:55 +0000 Subject: [PATCH] ffs --- src/core/file_sys/ips_layer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cpp index a642dcaf15..62fec276f0 100644 --- a/src/core/file_sys/ips_layer.cpp +++ b/src/core/file_sys/ips_layer.cpp @@ -233,10 +233,10 @@ void IPSwitchCompiler::Parse() { } else { LOG_WARNING(Loader, "invalid string"); } - } else if (auto const first_space = line.find_first_of(" /\r\n", 9); first_space != std::string::npos) { + } else if (auto const first_space = line.find_first_of(" /\t\r\n"); first_space != std::string::npos) { IPSwitchRecord r; // hex replacement auto const start = line.cbegin() + first_space; - if (auto const last_space = line.find_last_of(" /\r\n"); last_space != std::string::npos) { + if (auto const last_space = line.find_last_of(" /\t\r\n"); last_space != std::string::npos) { auto const end = line.cbegin() + last_space; if (start <= line.cend() && end <= line.cend()) { auto const hs = Common::HexStringToVector({start, end}, is_little_endian);