From ceec628af07846fb9637d39dae6b446a0bff715d Mon Sep 17 00:00:00 2001 From: Tom Prince Date: Mon, 21 Jun 2010 01:46:09 -0400 Subject: [PATCH] GUIScript: Fix typo in attribute error. Signed-off-by: Tom Prince --- gemrb/plugins/GUIScript/GUIScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemrb/plugins/GUIScript/GUIScript.cpp b/gemrb/plugins/GUIScript/GUIScript.cpp index bd293d387..3b4388208 100644 --- a/gemrb/plugins/GUIScript/GUIScript.cpp +++ b/gemrb/plugins/GUIScript/GUIScript.cpp @@ -1720,7 +1720,7 @@ static PyObject* GemRB_Control_SetEventByName(PyObject * /*self*/, PyObject* arg return AttributeError( GemRB_Control_SetEventByName__doc ); } if (!PyString_Check(funcName)) { - return AttributeError( GemRB_SetTimedEventByName__doc ); + return AttributeError( GemRB_Control_SetEventByName__doc ); } Control* ctrl = GetControl( WindowIndex, ControlIndex, -1 ); -- 2.11.4.GIT