cmenu: use putchar instead of putch when using default attribute
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Thu, 3 Sep 2009 22:23:22 +0000 (15:23 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Thu, 3 Sep 2009 22:23:22 +0000 (15:23 -0700)
commitb580a0f00268d2e6f1771085d7a27c639cca41bf
tree751efeead219fa1d3afe088d327c9008d50ca325
parent5b6c056cabc11a0d20356a1f977b09f2e92a496d
cmenu: use putchar instead of putch when using default attribute

There is no real need to do putch('x', 0x07), 0x07 being the default
VGA attribute. Use putchar instead.

Note that showhelp will trigger a drawbox first with 0x07 as attribute.
Since we don't update the attribute, it is guaranteed to still be 0x07
when invoking putch.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/cmenu/libmenu/help.c