comparison stream/pnm.c @ 33156:9ac31195a5e0

Use strtod instead of sscanf, it is both much faster and allows for easier error checking. Also do that error checking and print a message if what we received is not a proper number and ignore the message.
author reimar
date Sat, 09 Apr 2011 15:09:06 +0000
parents 64ba1daa147a
children 780f64c1ac7e
comparison
equal deleted inserted replaced
33155:16e5b7f9ddb8 33156:9ac31195a5e0