mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[poincare] Get rid of SpecialSymbols::Ans
This commit is contained in:
@@ -95,7 +95,7 @@ bool App::textInputIsCorrect(const char * text) {
|
||||
return false;
|
||||
}
|
||||
Expression ansExpression = static_cast<Snapshot *>(snapshot())->calculationStore()->ansExpression(localContext());
|
||||
exp = exp.replaceSymbolWithExpression(Symbol::SpecialSymbols::Ans, ansExpression);
|
||||
exp = exp.replaceSymbolWithExpression("ans", ansExpression);
|
||||
char buffer[Calculation::k_printedExpressionSize];
|
||||
int length = PoincareHelpers::Serialize(exp, buffer, sizeof(buffer));
|
||||
/* if the buffer is totally full, it is VERY likely that writeTextInBuffer
|
||||
|
||||
Reference in New Issue
Block a user