fix to special handling via peek

svn: r218
This commit is contained in:
Matthew Flatt 2005-06-19 15:19:24 +00:00
parent 70c5613bfe
commit d3a3a665eb

View File

@ -2659,7 +2659,7 @@ Scheme_Object *scheme_get_special(Scheme_Object *port,
/* do location increment, since read didn't */
if (line > 0)
line++;
if (col > 0)
if (col >= 0)
col++;
if (pos > 0)
pos++;