d := -1;\r
     for a := bufpointer to b do begin\r
       c := buf[a];\r
-      //check if the character can possiblly be a line ending before getting\r
+      //check if the character can possibly be a line ending before getting\r
       //into the more complex checks that depend on eol type\r
       if (c = 10) or (c = 13) then case allowedeol of\r
         eoltype_any: begin\r