diff options
author | Andreas Zwinkau <qznc@go.to> | 2012-07-03 23:13:15 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-21 22:09:17 +0300 |
commit | 28e7443f9bcc1fac186394847c1b788e39daed5e (patch) | |
tree | 5d2f3267961d279d27ef031c341bfdebe6acf988 /src/guiMainMenu.cpp | |
parent | e79ad21aebfe1dc4227ae1f8dd3a2f1c0b5ba193 (diff) | |
download | minetest-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/guiMainMenu.cpp')
0 files changed, 0 insertions, 0 deletions