windows console fixes

This commit is contained in:
U-WIN-ENP104VVO3U\Vítor Santos Costa
2011-06-09 17:55:27 +01:00
parent a0748c7c10
commit 48284cfb44
10 changed files with 24 additions and 24 deletions

View File

@@ -3239,7 +3239,7 @@ rlc_write(rlc_console c, TCHAR *buf, size_t count)
return -1;
for(s=buf, e=&buf[count]; s<e; s++)
{ if ( *s == '\n' )
{ if ( *s == '\n' )
b->promptlen = 0;
else if ( b->promptlen < MAXPROMPT-1 )
b->promptbuf[b->promptlen++] = *s;