Kaydet (Commit) 4a596e3b authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #457654] bkgd() used a hard-coded A_NORMAL attribute, when it should

    have used the attribute argument provided as a parameter
üst 9f5b822f
......@@ -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 *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment