mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/calculation] Expression buffer max length: k_printedExpressionSize
Change-Id: I41603624f7f7a4d3213ec6ea43297b75b204ed03
This commit is contained in:
committed by
EmilieNumworks
parent
2e0a70f269
commit
a2226eb5f8
@@ -74,7 +74,7 @@ bool App::expressionLayoutFieldDidReceiveEvent(::ExpressionLayoutField * express
|
||||
return true;
|
||||
}
|
||||
|
||||
int bufferLength = TextField::maxBufferSize();
|
||||
int bufferLength = Calculation::k_printedExpressionSize;
|
||||
char bufferForParsing[bufferLength];
|
||||
expressionLayoutField->writeTextInBuffer(bufferForParsing, bufferLength);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user