do some fixes suggested by sofar

This commit is contained in:
HybridDog 2016-03-06 12:21:27 +01:00
parent 7fbd63a180
commit ac6b6c13e5
2 changed files with 3 additions and 4 deletions

View File

@ -90,8 +90,7 @@ local function send_fs(p_name, receiver, amt_str)
local amt = tonumber(amt_str)
if not amt
or amt <= 0 then
if not amt or amt <= 0 then
return fs .. label(0.5,0.5, "Invalid transfer amount.") ..
"button[0.5,2;2,1;wire;Back]"
end