fix variable "width" being called "size" in 2 places of the code (I guess those were missed when changing variable name)
--- a/LuaDrawing.wiki Fri Jan 17 16:39:40 2014 +0000
+++ b/LuaDrawing.wiki Mon Jan 20 08:07:59 2014 +0000
@@ -13,9 +13,9 @@
function AddPoint(x, y, width, erase)
PointsBuffer = PointsBuffer .. string.char(band(x,0xff00) / 256 , band(x,0xff) , band(y,0xff00) / 256 , band(y,0xff))
if width then
- width = bor(size,0x80)
+ width = bor(width,0x80)
if erase then
- width = bor(size,0x40)
+ width = bor(width,0x40)
end
PointsBuffer = PointsBuffer .. string.char(width)
else