Oh I found a bug with this: it needs to skip also \t.
In data martedì 26 agosto 2014 19:56:20, Salvo 'LtWorf' Tomaselli ha scritto:
> Not quite the solution I'd want, but the json generation would need
> + //Skip whitespace
> + while (buf[i + inc] == ' ' || buf[i + inc] == '\n')
> + inc++;
--
Salvo Tomaselli
"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di
senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei
http://ltworf.github.io/ltworf/
_______________________________________________
subsurface mailing list
[email protected]
http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface