Use real snprintf (not _snprintf) with >= VS2015
Infuriatingly, Visual Studio has not supported C99’s snprintf until VS2015. Modify a couple of workaround hacks to only apply to pre-VS2015. This is more than just a cleanup. snprintf guarantees null termination, _snprintf does not! The return values are also different, though rarely used.
Showing with 11 additions and 27 deletions