mirror of https://github.com/python/cpython
[Bug #457654] bkgd() used a hard-coded A_NORMAL attribute, when it should
have used the attribute argument provided as a parameter
This commit is contained in:
parent
9f5b822fb3
commit
4a596e3bee
|
@ -524,7 +524,7 @@ PyCursesWindow_Bkgd(PyCursesWindowObject *self, PyObject *args)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
return PyCursesCheckERR(wbkgd(self->win, bkgd | A_NORMAL), "bkgd");
|
||||
return PyCursesCheckERR(wbkgd(self->win, bkgd | attr), "bkgd");
|
||||
}
|
||||
|
||||
static PyObject *
|
||||
|
|
Loading…
Reference in New Issue