mirror of https://github.com/FDOS/kernel.git
From Luchezar Georgiev: parameters were in the wrong order...
git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@635 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
8c2eb41fc6
commit
d7f6e1181f
|
@ -288,7 +288,7 @@ STATIC int echo_char(int c, int sft_idx)
|
|||
|
||||
int echo_char_stdin(int c)
|
||||
{
|
||||
return echo_char(get_sft_idx(STDIN), c);
|
||||
return echo_char(c, get_sft_idx(STDIN));
|
||||
}
|
||||
|
||||
STATIC void destr_bs(int sft_idx)
|
||||
|
|
|
@ -451,11 +451,11 @@ dispatch:
|
|||
|
||||
/* Auxiliary Output */
|
||||
case 0x04:
|
||||
write_char(get_sft_idx(STDAUX), lr.DL);
|
||||
write_char(lr.DL, get_sft_idx(STDAUX));
|
||||
break;
|
||||
/* Print Character */
|
||||
case 0x05:
|
||||
write_char(get_sft_idx(STDPRN), lr.DL);
|
||||
write_char(lr.DL, get_sft_idx(STDPRN));
|
||||
break;
|
||||
|
||||
/* Direct Console I/O */
|
||||
|
|
Loading…
Reference in New Issue