cwittich(a)svn.reactos.org wrote:
- GetFileTitle(szFileName, Globals.szFileTitle,
sizeof(Globals.szFileTitle));
+ GetFileTitle(szFileName, Globals.szFileTitle, wcslen(Globals.szFileTitle));
This change is wrong, sizeof(Globals.szFileTitle) is correct. The last
parameter is the size of the buffer the second parameter represents.
- Thomas