From bd98faaee43900b5783f0bea8e8d9716917f7c2d Mon Sep 17 00:00:00 2001 From: Blake-Madden <66873089+Blake-Madden@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:19:46 -0500 Subject: [PATCH] Change how raw strings are found for wide line check Quote at start will be cleared at this stage now. --- src/cpp_i18n_review.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp_i18n_review.cpp b/src/cpp_i18n_review.cpp index 87788fa..f4a45e7 100644 --- a/src/cpp_i18n_review.cpp +++ b/src/cpp_i18n_review.cpp @@ -497,7 +497,7 @@ namespace i18n_check std::next(m_file_start, static_cast(previousNewLine)), currentLineLength }; - if (currentLine.find(L"R\"") == std::wstring::npos && + if (currentLine.find(L"LR") == std::wstring::npos && currentLine.find(L'|') == std::wstring::npos) { m_wide_lines.emplace_back(