reg: Add missing null to terminate a string.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-04-03 21:47:59 +02:00
parent 0501ad920a
commit 8268c47462
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ static void export_file_header(HANDLE hFile)
{
static const WCHAR header[] = { 0xfeff,'W','i','n','d','o','w','s',' ',
'R','e','g','i','s','t','r','y',' ','E','d','i','t','o','r',' ',
'V','e','r','s','i','o','n',' ','5','.','0','0','\r','\n'};
'V','e','r','s','i','o','n',' ','5','.','0','0','\r','\n',0};
write_file(hFile, header);
}