fix getStrem in

This commit is contained in:
Vitor Santos Costa 2010-12-29 09:29:30 -06:00
parent 8499f36f0b
commit eb4e59652f

View File

@ -4344,7 +4344,7 @@ get_stream_handle_no_errors(term_t t, int read, int write, IOSTREAM **s)
{ GET_LD
if ( t == 0 )
{ if (write) *s = getStream(Scurout);
else *s = getStream(Scurout);
else *s = getStream(Scurin);
return TRUE;
}
return get_stream_handle(t, s, SH_ALIAS);