stupid bug: format would always use user_output

This commit is contained in:
Vítor Santos Costa 2015-11-05 17:16:55 +00:00
parent 83fdeab85f
commit b84262238d
1 changed files with 1 additions and 1 deletions

View File

@ -1046,7 +1046,7 @@ static Int
format2( USES_REGS1 )
{ /* 'format'(Stream,Control,Args) */
Int res;
res = format(MkAtomTerm(AtomUserOut), Deref(ARG1),Deref(ARG2) PASS_REGS);
res = doformat( Deref(ARG1),Deref(ARG2), LOCAL_c_output_stream PASS_REGS);
return res;
}