summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2001-09-04 19:34:32 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2001-09-04 19:34:32 (GMT)
commit4a596e3bee104e482353c099ed91a515b8cf21e3 (patch)
tree9fae242530530680ac555221f1354083d93bd56f
parent9f5b822fb3aa08d3cf4a89d33c6c69ad1843a661 (diff)
downloadcpython-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
-rw-r--r--Modules/_cursesmodule.c2
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 *