Commits

Anonymous committed e610295

no message

Comments (0)

Files changed (3)

 recursive-include src *
 recursive-include examples *
 prune */CVS
-prune */*/CVS
+prune */*/CVS
 # BREAK = change breaks existing code
 # BUG   = fixed a bug that was crashing
 
+Mar 22, 2002
+	fixed key.set_mods() (thanks rubysdl)
+	rework setup scripts for 1.0 release
+
 Mar 21, 2001
 	initial support for compiling on mac
 	fixed odd case with locking subsurfaces
 
 static PyObject* key_set_mods(PyObject* self, PyObject* args)
 {
-	if(!PyArg_ParseTuple(args, ""))
+	int mods;
+
+	if(!PyArg_ParseTuple(args, "i", &mods))
 		return NULL;
 
 	VIDEO_INIT_CHECK();
 
-	return PyInt_FromLong(SDL_GetModState());
+	SDL_SetModState(mods);
+	RETURN_NONE
 }