diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2001-09-04 19:34:32 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2001-09-04 19:34:32 (GMT) |
commit | 4a596e3bee104e482353c099ed91a515b8cf21e3 (patch) | |
tree | 9fae242530530680ac555221f1354083d93bd56f /Modules | |
parent | 9f5b822fb3aa08d3cf4a89d33c6c69ad1843a661 (diff) | |
download | cpython-4a596e3bee104e482353c099ed91a515b8cf21e3.zip cpython-4a596e3bee104e482353c099ed91a515b8cf21e3.tar.gz cpython-4a596e3bee104e482353c099ed91a515b8cf21e3.tar.bz2 |
[Bug #457654] bkgd() used a hard-coded A_NORMAL attribute, when it should
have used the attribute argument provided as a parameter
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_cursesmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c index dfa1012..a56a67c 100644 --- a/Modules/_cursesmodule.c +++ b/Modules/_cursesmodule.c @@ -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 * |