chiark / gitweb /
Replace a TCHAR with a WCHAR.
authorSimon Tatham <anakin@pobox.com>
Sat, 1 Aug 2015 10:14:30 +0000 (11:14 +0100)
committerSimon Tatham <anakin@pobox.com>
Sat, 1 Aug 2015 10:14:30 +0000 (11:14 +0100)
commitc296301a06ce49b87c954c9d15452521dfeddf1a
tree1e2bc74c724d8f1f1d03278b837fe5e736f66de2
parent5e1c335eea905ee031e440399f7a575c5c7a1ad3
Replace a TCHAR with a WCHAR.

MultiByteToWideChar expects a WCHAR[256] output buffer if you pass it
an output length of 256. TCHAR[256] is entirely the wrong size, though
for some reason Visual Studio seems not to have thrown a compile error
pointing that out.

Thanks to Jason Hood for spotting this.
windows.c