Fix issue #1: Typo in assert

This commit is contained in:
Matthias Richter 2010-09-30 11:44:31 +02:00
parent d306ce88fb
commit 0ab3a6898c

View File

@ -59,7 +59,7 @@ function Vector.__add(a,b)
end
function Vector.__sub(a,b)
assert(isvector(a) and isvector(b), "Sub: wrong argument types (<vector> expexted)")
assert(isvector(a) and isvector(b), "Sub: wrong argument types (<vector> expected)")
return vector(a.x-b.x, a.y-b.y)
end