diff --git a/Nasal/MCDU/ARRIVAL.nas b/Nasal/MCDU/ARRIVAL.nas index e20952e4..1aee5abe 100644 --- a/Nasal/MCDU/ARRIVAL.nas +++ b/Nasal/MCDU/ARRIVAL.nas @@ -660,7 +660,7 @@ var arrivalPage = { me.L2 = [nil, nil, "wht"]; me.arrowsMatrix[0][1] = 0; me.arrowsColour[0][1] = "wht"; - } else { + } elsif (me.activePage == 1) { me.L2 = [" VIAS", " APPR", "wht"]; me.arrowsMatrix[0][1] = 1; me.arrowsColour[0][1] = "wht"; diff --git a/Nasal/MCDU/F-PLN.nas b/Nasal/MCDU/F-PLN.nas index 1bb45b2f..468c6caf 100644 --- a/Nasal/MCDU/F-PLN.nas +++ b/Nasal/MCDU/F-PLN.nas @@ -106,7 +106,7 @@ var fplnItem = { if (me.index == 0 and left(me.wp.wp_name, 4) == getprop("/FMGC/internal/dep-arpt") and fmgc.flightPlanController.flightplans[me.plan].departure != nil) { return [" " ~ sprintf("%-5.0f", math.round(fmgc.flightPlanController.flightplans[me.plan].departure.elevation * M2FT)), "mag"]; } elsif (me.index == (fmgc.flightPlanController.currentToWptIndex.getValue() - 1) and fmgc.flightPlanController.fromWptAlt != nil) { - return [" " ~ fmgc.flightPlanController.fromWptAlt, "mag"]; + return [" " ~ fmgc.flightPlanController.fromWptAlt, "mag"]; } elsif (me.wp.alt_cstr != nil and me.wp.alt_cstr != 0) { if (me.wp.alt_cstr > fmgc.FMGCInternal.transAlt) { return [" " ~ sprintf("%-5s", "FL" ~ math.round(num(me.wp.alt_cstr) / 100)), "mag"];