Lurking bug found by patch for 531291: FSSpecs should be passed to

Py_BuildValue by address, not by value.

2.2.1 candidate.
This commit is contained in:
Jack Jansen 2002-03-18 15:41:32 +00:00
parent cb6cf13261
commit ca9a4a6e17
2 changed files with 2 additions and 2 deletions

View file

@ -1172,7 +1172,7 @@ static PyObject *WinObj_GetWindowProxyFSSpec(WindowObject *_self, PyObject *_arg
&outFile);
if (_err != noErr) return PyMac_Error(_err);
_res = Py_BuildValue("O&",
PyMac_BuildFSSpec, outFile);
PyMac_BuildFSSpec, &outFile);
return _res;
}