[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:
Andrew M. Kuchling 2001-09-04 19:34:32 +00:00
parent 9f5b822fb3
commit 4a596e3bee
1 changed files with 1 additions and 1 deletions

View File

@ -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 *