mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[NOTEPAD]
- Edijs: Zero initialize the caption string. See issue #5992 for more details. svn path=/trunk/; revision=51013
This commit is contained in:
parent
81f9d934ff
commit
1e2dd5d5d2
|
@ -117,7 +117,7 @@ VOID ShowLastError(void)
|
|||
*/
|
||||
static void UpdateWindowCaption(void)
|
||||
{
|
||||
TCHAR szCaption[MAX_STRING_LEN];
|
||||
TCHAR szCaption[MAX_STRING_LEN] = _T("");
|
||||
TCHAR szNotepad[MAX_STRING_LEN];
|
||||
|
||||
LoadString(Globals.hInstance, STRING_NOTEPAD, szNotepad, SIZEOF(szNotepad));
|
||||
|
|
Loading…
Reference in a new issue