mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-10 09:19:01 +00:00
Changed: Don't need to put \n in nlwarning
This commit is contained in:
parent
ff11c8b8fb
commit
dc2fff60b8
1 changed files with 3 additions and 3 deletions
|
@ -154,7 +154,7 @@ bool loadStringFile(const std::string filename, vector<TStringInfo> &stringInfos
|
||||||
if (!CI18N::parseLabel(first, last, si.Identifier))
|
if (!CI18N::parseLabel(first, last, si.Identifier))
|
||||||
{
|
{
|
||||||
uint32 line = countLine(text, first);
|
uint32 line = countLine(text, first);
|
||||||
nlwarning("DT: Fatal : In '%s', line %u: Invalid label after '%s'\n",
|
nlwarning("DT: Fatal : In '%s', line %u: Invalid label after '%s'",
|
||||||
filename.c_str(),
|
filename.c_str(),
|
||||||
line,
|
line,
|
||||||
lastLabel.c_str());
|
lastLabel.c_str());
|
||||||
|
@ -167,7 +167,7 @@ bool loadStringFile(const std::string filename, vector<TStringInfo> &stringInfos
|
||||||
if (!CI18N::parseMarkedString(openMark, closeMark, first, last, si.Text))
|
if (!CI18N::parseMarkedString(openMark, closeMark, first, last, si.Text))
|
||||||
{
|
{
|
||||||
uint32 line = countLine(text, first);
|
uint32 line = countLine(text, first);
|
||||||
nlwarning("DT: Fatal : In '%s', line %u: Invalid text value for label %s\n",
|
nlwarning("DT: Fatal : In '%s', line %u: Invalid text value for label %s",
|
||||||
filename.c_str(),
|
filename.c_str(),
|
||||||
line,
|
line,
|
||||||
lastLabel.c_str());
|
lastLabel.c_str());
|
||||||
|
@ -181,7 +181,7 @@ bool loadStringFile(const std::string filename, vector<TStringInfo> &stringInfos
|
||||||
if (!CI18N::parseMarkedString(openMark, closeMark, first, last, si.Text2))
|
if (!CI18N::parseMarkedString(openMark, closeMark, first, last, si.Text2))
|
||||||
{
|
{
|
||||||
uint32 line = countLine(text, first);
|
uint32 line = countLine(text, first);
|
||||||
nlwarning("DT: Fatal: In '%s' line %u: Invalid text2 value label %s\n",
|
nlwarning("DT: Fatal: In '%s' line %u: Invalid text2 value label %s",
|
||||||
filename.c_str(),
|
filename.c_str(),
|
||||||
line,
|
line,
|
||||||
lastLabel.c_str());
|
lastLabel.c_str());
|
||||||
|
|
Loading…
Reference in a new issue