fix unnecessary printf retry when printed string is empty

fix missing va_end() calls

add cx_sprintf() variants - fixes #353

(0) -300 -100 -30 -10 -3 +3 +10 +30 +100 tip

mercurial