• Manuel Pégourié-Gonnard's avatar
    Tune up Windows snprintf() support · f659d2cd
    Manuel Pégourié-Gonnard authored
    When we build with Visual Studio in debug mode, the invalid parameter handler
    aborts the application (and offers to debug it) when n is 0. We want to
    just return -1 instead (as calls with n == 0 are expected and happen in our
platform.c 5.09 KB