From 1c7e2b404a5f5984fcafe160726aed8ce4f15c35 Mon Sep 17 00:00:00 2001 From: mfranz Date: Mon, 3 Jul 2006 05:59:24 +0000 Subject: [PATCH] remove workaround for broken continue --- Nasal/gui.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/gui.nas b/Nasal/gui.nas index 6b955d506..637e32515 100644 --- a/Nasal/gui.nas +++ b/Nasal/gui.nas @@ -422,7 +422,7 @@ showWeightDialog = func { cap = t.getNode("capacity-gal_us", 1).getValue(); # Hack, to ignore the "ghost" tanks created by the C++ code. - if(cap == nil or cap < 1) { i+=1; continue; } + if(cap == nil or cap < 1) { continue; } title = tcell(fuelTable, "text", i+1, 0); title.set("label", tname);