Browse Source

Fixed an error message.

Alex Szpakowski 9 years ago
parent
commit
9893f7ad51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/event/wrap_Event.lua

+ 1 - 1
src/modules/event/wrap_Event.lua

@@ -51,7 +51,7 @@ function event.addListener(func, ...)
 	if type(t) == "table" then
 	if type(t) == "table" then
 		for i, name in ipairs(t) do
 		for i, name in ipairs(t) do
 			if type(name) ~= "string" then
 			if type(name) ~= "string" then
-				error("Invalid table element #"..i.." in argument #2 to love.event.addListener (expected string)", 2)
+				error("Invalid table element #"..i.." in argument #2 to addListener (expected string)", 2)
 			end
 			end
 
 
 			addListenerForEvent(name, func)
 			addListenerForEvent(name, func)