mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue