mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
Merge remote-tracking branch 'github/master' into Tree
This commit is contained in:
@@ -75,9 +75,8 @@ bool App::layoutFieldDidReceiveEvent(::LayoutField * layoutField, Ion::Events::E
|
||||
return true;
|
||||
}
|
||||
|
||||
int bufferLength = Calculation::k_printedExpressionSize;
|
||||
char bufferForParsing[bufferLength];
|
||||
layoutField->serialize(bufferForParsing, bufferLength);
|
||||
char bufferForParsing[Calculation::k_printedExpressionSize];
|
||||
layoutField->serialize(bufferForParsing, Calculation::k_printedExpressionSize);
|
||||
|
||||
if (!textInputIsCorrect(bufferForParsing)) {
|
||||
displayWarning(I18n::Message::SyntaxError);
|
||||
|
||||
Reference in New Issue
Block a user