Fix error handling in Lua function run(). Made the samples use run() instead of dofile()

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1989 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2012-08-11 22:06:11 +00:00
parent b1f6a0329b
commit f507cb7bcb
5 changed files with 8 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
-- as published by the Free Software Foundation; version 2
-- of the License. See <http://www.gnu.org/licenses/>
dofile("../libs/dawnbringer_lib.lua")
run("../libs/dawnbringer_lib.lua")
OK,tin,clz,fade,amt,brikeep,falloff,nobg,briweight = inputbox("Apply PenColor 2 Brush",