fix typo in struct member name, rename "inline" to "line"

Just some minor fixes to try and get the code closer to compiling :-)