FMGC: Fix bug in format error message

This commit is contained in:
Joshua Davidson 2019-02-20 18:52:23 -07:00
parent 9a92eaa0c5
commit ceb8a6fcdb

View file

@ -557,7 +557,7 @@ var notAllowed = func(i) {
setprop("/MCDU[" ~ i ~ "]/scratchpad", "NOT ALLOWED");
}
var fomratError = func(i) {
var formatError = func(i) {
if (getprop("/MCDU[" ~ i ~ "]/scratchpad") != "FORMAT ERROR") {
if (getprop("/MCDU[" ~ i ~ "]/scratchpad-msg") == 1) {
setprop("/MCDU[" ~ i ~ "]/last-scratchpad", "");