diff options
author | hpa <hpa> | 2004-12-22 13:07:15 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-12-22 13:07:15 +0000 |
commit | 24afa3e22a17856083b738d8ed6e3a3c9076979d (patch) | |
tree | 3431ceeaf4f252774262246425341f23c8491f83 | |
parent | fef30b6f809ea30d650ad369162b4799f2302187 (diff) | |
download | syslinux-24afa3e22a17856083b738d8ed6e3a3c9076979d.tar.gz syslinux-24afa3e22a17856083b738d8ed6e3a3c9076979d.tar.xz syslinux-24afa3e22a17856083b738d8ed6e3a3c9076979d.zip |
Fix handling of attributes when clearing the screen.
-rw-r--r-- | com32/lib/sys/ansicon_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/lib/sys/ansicon_write.c b/com32/lib/sys/ansicon_write.c index 40710876..dbcf7412 100644 --- a/com32/lib/sys/ansicon_write.c +++ b/com32/lib/sys/ansicon_write.c @@ -97,7 +97,7 @@ static void ansicon_erase(int x0, int y0, int x1, int y1) static com32sys_t ireg; ireg.eax.w[0] = 0x0600; /* Clear window */ - ireg.eax.b[1] = st.attr; /* Fill with current attribute */ + ireg.ebx.b[1] = st.attr; /* Fill with current attribute */ ireg.ecx.b[0] = x0; ireg.ecx.b[1] = y0; ireg.edx.b[0] = x1; |