From 6b8c2b096acc4d0821518c70080458ae7546eb29 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Sun, 31 Jan 2010 23:03:27 +0000 Subject: [PATCH] make sure everything is close together. --- C/iopreds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C/iopreds.c b/C/iopreds.c index 1accf30bd..bfbacdd8f 100755 --- a/C/iopreds.c +++ b/C/iopreds.c @@ -2349,9 +2349,9 @@ p_open (void) st->status = s; st->charcount = 0; st->linecount = 1; + st->linepos = 0; st->u.file.name = Yap_LookupAtom (Yap_FileNameBuf); st->u.file.user_name = file_name; - st->linepos = 0; st->stream_putc = FilePutc; st->stream_wputc = put_wchar; st->stream_getc = PlGetc;