mirror of
https://github.com/SFML/SFML.git
synced 2024-12-01 15:51:04 +08:00
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:
parent
a32d30c1be
commit
f3f630142a
@ -152,6 +152,8 @@ PySfWindow_init(PySfWindow *self, PyObject *args, PyObject *kwds)
|
||||
|
||||
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();
|
||||
|
Loading…
Reference in New Issue
Block a user