Remove a useless XXX comment.
Cosmetic changes to the code so that the #ifdef _UNICODE block doesn't mess emacs code formatting.
This commit is contained in:
parent
cddabbf98a
commit
944f3b6ecb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue