15 Feb
2008
15 Feb
'08
3:14 p.m.
On Fri, 15 Feb 2008, Francois Gouget wrote:
if (shortname) - lstrcpynA(pfd->cAlternateFileName, shortname, MAX_PATH); + lstrcpynA(pfd->cAlternateFileName, shortname, 14);
sizeof(*pfd->cAlternateFileName) would be better than the magic 14 here.
Whoops, no '*' of course. -- Francois Gouget <fgouget(a)free.fr> http://fgouget.free.fr/ There are 10 types of people in the world... those who understand binary and those who don't.