Add a MSVC / Windows compatible snprintf function (#7353)
authornOOb3167 <nOOb3167@gmail.com>
Sun, 22 Jul 2018 19:56:06 +0000 (21:56 +0200)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sun, 22 Jul 2018 19:56:06 +0000 (21:56 +0200)
commit9537cfd3f8264700619f58d15741829489e1099e
tree36412677aba19e1a2037db7fad2f934a2daa5046
parent9855651c06f84f29780cf6b25a392ac841b4630c
Add a MSVC / Windows compatible snprintf function (#7353)

Use sizeof where applicable for mt_snprintf
13 files changed:
src/game.cpp
src/gui/guiConfirmRegistration.cpp
src/gui/profilergraph.cpp
src/guiscalingfilter.cpp
src/map.cpp
src/mapblock.cpp
src/porting.cpp
src/porting.h
src/script/common/c_internal.cpp
src/script/cpp_api/s_base.cpp
src/serverenvironment.cpp
src/unittest/test.cpp
src/unittest/test_connection.cpp