From 4ad536b4fb5929a79a786fe2ef7717cbedd33fb2 Mon Sep 17 00:00:00 2001 From: kervala Date: Fri, 4 Nov 2016 09:17:32 +0100 Subject: [PATCH] Fixed: Wrong size of nl --- code/ryzom/tools/translation_tools/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/translation_tools/main.cpp b/code/ryzom/tools/translation_tools/main.cpp index 3b58916b0..3cbaa195d 100644 --- a/code/ryzom/tools/translation_tools/main.cpp +++ b/code/ryzom/tools/translation_tools/main.cpp @@ -698,7 +698,7 @@ void cleanComment(const std::string & filename) ucstring toAdd = text.substr(last, size); newText += toAdd; ucstring::size_type commentEnd = text.find(ucstring("*/"), commentBegin); - if (commentEnd != ucstring::npos) { commentEnd += 4; } + if (commentEnd != ucstring::npos) { commentEnd += 2 + nl.size(); } last = commentEnd; ++nbOldValue; }