From 2749d40508d0cd7a1ec5f651a298bf645d8cdc00 Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 15 Nov 2016 10:44:59 +0100 Subject: [PATCH] Changed: Minor changes --HG-- branch : develop --- code/ryzom/tools/translation_tools/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/code/ryzom/tools/translation_tools/main.cpp b/code/ryzom/tools/translation_tools/main.cpp index 26763ab59..0d868d621 100644 --- a/code/ryzom/tools/translation_tools/main.cpp +++ b/code/ryzom/tools/translation_tools/main.cpp @@ -3073,9 +3073,9 @@ int injectClause() vector::iterator first(phrases.begin()); vector::iterator last(phrases.end()); + for ( ; first != last; ++first) { - vector::iterator firstClause( first->Clauses.begin()); vector::iterator lastClause( first->Clauses.end()); for ( ; firstClause != lastClause; ++firstClause) @@ -3091,7 +3091,6 @@ int injectClause() firstClause->HashValue = CI18N::makeHash(firstClause->Text); firstRefClause->HashValue = firstClause->HashValue; - nlinfo("update clause %s from clause file %s.", firstClause->Identifier.c_str(), clausePath.c_str()); } } @@ -3107,7 +3106,6 @@ int injectClause() CI18N::writeTextFile(desDir + clausePath, str); } - return 0; }