fixed handling of %.0f in replacement snprintf.c