mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-22 23:26:15 +00:00
Fixed: Compilation
This commit is contained in:
parent
4a1e0b58e5
commit
5cc2b16c87
1 changed files with 2 additions and 6 deletions
|
@ -985,13 +985,11 @@ public:
|
||||||
|
|
||||||
// changed element
|
// changed element
|
||||||
TPhrase phrase = context.Addition[addIndex];
|
TPhrase phrase = context.Addition[addIndex];
|
||||||
// char temp[1024];
|
|
||||||
sprintf(temp, "// DIFF CHANGED %u ", addIndex);
|
|
||||||
vector<TPhrase> tempV;
|
vector<TPhrase> tempV;
|
||||||
tempV.push_back(context.Reference[refIndex]);
|
tempV.push_back(context.Reference[refIndex]);
|
||||||
ucstring tempT = preparePhraseFile(tempV, false);
|
ucstring tempT = preparePhraseFile(tempV, false);
|
||||||
CI18N::removeCComment(tempT);
|
CI18N::removeCComment(tempT);
|
||||||
phrase.Comments = ucstring(temp) + nl + phrase.Comments;
|
phrase.Comments = ucstring("// DIFF CHANGED ") + toString(addIndex) + nl + phrase.Comments;
|
||||||
phrase.Comments = phrase.Comments + ucstring("/* OLD VALUE : ["+nl) + tabLines(1, tempT) +nl + "] */" + nl;
|
phrase.Comments = phrase.Comments + ucstring("/* OLD VALUE : ["+nl) + tabLines(1, tempT) +nl + "] */" + nl;
|
||||||
phrase.Comments = phrase.Comments + chg;
|
phrase.Comments = phrase.Comments + chg;
|
||||||
|
|
||||||
|
@ -2697,13 +2695,11 @@ void CMakePhraseDiff2::onChanged(uint addIndex, uint refIndex, TPhraseDiffContex
|
||||||
|
|
||||||
// changed element
|
// changed element
|
||||||
TPhrase phrase = context.Addition[addIndex];
|
TPhrase phrase = context.Addition[addIndex];
|
||||||
// char temp[1024];
|
|
||||||
sprintf(temp, "// DIFF CHANGED");
|
|
||||||
vector<TPhrase> tempV;
|
vector<TPhrase> tempV;
|
||||||
tempV.push_back(context.Reference[refIndex]);
|
tempV.push_back(context.Reference[refIndex]);
|
||||||
ucstring tempT = preparePhraseFile(tempV, false);
|
ucstring tempT = preparePhraseFile(tempV, false);
|
||||||
CI18N::removeCComment(tempT);
|
CI18N::removeCComment(tempT);
|
||||||
phrase.Comments = ucstring(temp) + nl + phrase.Comments;
|
phrase.Comments = ucstring("// DIFF CHANGED ") + toString(addIndex) + nl + phrase.Comments;
|
||||||
phrase.Comments = phrase.Comments + ucstring("/* OLD VALUE : ["+nl) + tabLines(1, tempT) +nl + "] */" + nl;
|
phrase.Comments = phrase.Comments + ucstring("/* OLD VALUE : ["+nl) + tabLines(1, tempT) +nl + "] */" + nl;
|
||||||
phrase.Comments = phrase.Comments + chg;
|
phrase.Comments = phrase.Comments + chg;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue