-
由 Matthew Kilgore 提交于
The current code does not correctly pass the color pair information to setcchar(), it instead always passes zero. This results in the curses output always being in white on black. This patch fixes this by using PAIR_NUMBER() to retrieve the color pair number from the chtype value, and then passes that value as an argument to setcchar(). Signed-off-by: NMatthew Kilgore <mattkilgore12@gmail.com> Reviewed-by: NSamuel Thibault <samuel.thibault@ens-lyon.org> Tested-by: NSamuel Thibault <samuel.thibault@ens-lyon.org> Message-id: 20191004035338.25601-3-mattkilgore12@gmail.com Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
30f5a9dd