Minor fix in sf.Window

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1284 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
remi-k 2009-11-24 11:25:46 +00:00
parent a32d30c1be
commit f3f630142a

View File

@ -151,7 +151,9 @@ PySfWindow_init(PySfWindow *self, PyObject *args, PyObject *kwds)
PySfWindowSettings *Params;
if (args != NULL)
{
{
if (PyTuple_Size(args) == 0)
return 0;
if (PyArg_ParseTuple(args, "l|O!:Window.__new__", &Handle, &PySfWindowSettingsType, &Params))
return 0;
PyErr_Clear();