aboutsummaryrefslogtreecommitdiff
path: root/src/content_mapnode.h
diff options
context:
space:
mode:
authorAndreas Zwinkau <qznc@go.to>2012-07-03 23:13:15 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-07-21 22:09:17 +0300
commit28e7443f9bcc1fac186394847c1b788e39daed5e (patch)
tree5d2f3267961d279d27ef031c341bfdebe6acf988 /src/content_mapnode.h
parente79ad21aebfe1dc4227ae1f8dd3a2f1c0b5ba193 (diff)
downloadminetest-28e7443f9bcc1fac186394847c1b788e39daed5e.tar.gz
minetest-28e7443f9bcc1fac186394847c1b788e39daed5e.tar.bz2
minetest-28e7443f9bcc1fac186394847c1b788e39daed5e.zip
Fix wctomb use
wctomb(NULL, _) returns "nonzero if the encoding has nontrivial shift state, or zero if the encoding is stateless." I assume the intentation was to get the size of the target buffer. Use MB_CUR_MAX for this.
Diffstat (limited to 'src/content_mapnode.h')
0 files changed, 0 insertions, 0 deletions