Console: when set cursor command is given without attributes, assume 0.

git-svn-id: svn://kolibrios.org@3686 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
hidnplayr 2013-06-19 14:11:23 +00:00
parent 23eb44e17c
commit 07d3467c12

View File

@ -845,7 +845,9 @@ con.write_special_char:
ret
.setcursor:
cmp [con_esc_attr_n], 2
jnz .nosetcursor
je @f
xor eax, eax
@@:
mov eax, [con_esc_attrs]
cmp eax, [con.scr_width]
jae @f