forked from nalc/global_exchange
do some fixes suggested by sofar
This commit is contained in:
parent
7fbd63a180
commit
ac6b6c13e5
3
atm.lua
3
atm.lua
@ -90,8 +90,7 @@ local function send_fs(p_name, receiver, amt_str)
|
|||||||
|
|
||||||
local amt = tonumber(amt_str)
|
local amt = tonumber(amt_str)
|
||||||
|
|
||||||
if not amt
|
if not amt or amt <= 0 then
|
||||||
or amt <= 0 then
|
|
||||||
return fs .. label(0.5,0.5, "Invalid transfer amount.") ..
|
return fs .. label(0.5,0.5, "Invalid transfer amount.") ..
|
||||||
"button[0.5,2;2,1;wire;Back]"
|
"button[0.5,2;2,1;wire;Back]"
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user