simon-git: puzzles (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sat Aug 1 11:23:56 BST 2015
TL;DR:
c296301 Replace a TCHAR with a WCHAR.
Repository: git://git.tartarus.org/simon/puzzles.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=puzzles.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-08-01 11:23:56
commit c296301a06ce49b87c954c9d15452521dfeddf1a
web diff http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=commitdiff;h=c296301a06ce49b87c954c9d15452521dfeddf1a;hp=5e1c335eea905ee031e440399f7a575c5c7a1ad3
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Aug 1 11:14:30 2015 +0100
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the tartarus-commits
mailing list