Commit 944f3b6e authored by Thomas Heller's avatar Thomas Heller

Remove a useless XXX comment.

Cosmetic changes to the code so that the #ifdef _UNICODE block
doesn't mess emacs code formatting.
parent cddabbf9
......@@ -851,17 +851,17 @@ GetComError(HRESULT errcode, GUID *riid, IUnknown *pIunk)
progid = NULL;
ProgIDFromCLSID(&guid, &progid);
/* XXX Is COMError derived from WindowsError or not? */
text = FormatError(errcode);
obj = Py_BuildValue(
#ifdef _UNICODE
obj = Py_BuildValue("iu(uuuiu)",
"iu(uuuiu)",
#else
obj = Py_BuildValue("is(uuuiu)",
"is(uuuiu)",
#endif
errcode,
text,
descr, source, helpfile, helpcontext,
progid);
errcode,
text,
descr, source, helpfile, helpcontext,
progid);
if (obj) {
PyErr_SetObject(ComError, obj);
Py_DECREF(obj);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment