Skip to content

Commit f39e014

Browse files
author
Oliver Kellogg
committed
tools/xmi2pot.cpp : In for-loop of POMap::ConstIterator terminate cout lines where termination is missing.
1 parent 232c3ac commit f39e014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/xmi2pot.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ int main( int argc, char **argv )
5454

5555
for (POMap::ConstIterator it = map.constBegin(); it != map.constEnd(); ++it)
5656
{
57-
cout << "#. Tag: " << (*it).tagNames.join(QStringLiteral(" ")).toUtf8().data() << endl;
57+
cout << "#. Tag: " << (*it).tagNames.join(QStringLiteral(" ")).toUtf8().data() << '\n';
5858
cout << "#: ";
5959
for (QList<int>::ConstIterator it2 =
6060
(*it).lineNumbers.constBegin(); it2 != (*it).lineNumbers.constEnd(); ++it2) {
@@ -65,7 +65,7 @@ int main( int argc, char **argv )
6565
}
6666
cout << "\n";
6767
cout << "#, no-c-format\n";
68-
cout << "msgid" << toGetTextString((*it).value).toUtf8().data();
68+
cout << "msgid" << toGetTextString((*it).value).toUtf8().data() << '\n';
6969
cout << "msgstr \"\"\n";
7070
cout << "\n";
7171
}

0 commit comments

Comments
 (0)