diff options
author | Sven Schnelle <svens@stackframe.org> | 2021-11-14 17:08:17 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-26 11:48:42 +0100 |
commit | 92842fc90ca23f3fd3882fdcf0992fae51d71131 (patch) | |
tree | cebdedb8ddb735d8ea9c341f1cbeddee329b539b /net | |
parent | 637d652d351fd4f263ef302dc52f3971d314e500 (diff) |
parisc/sticon: fix reverse colors
commit bec05f33ebc1006899c6d3e59a00c58881fe7626 upstream.
sticon_build_attr() checked the reverse argument and flipped
background and foreground color, but returned the non-reverse
value afterwards. Fix this and also add two local variables
for foreground and background color to make the code easier
to read.
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions