mirror of
https://github.com/reactos/reactos.git
synced 2025-06-14 02:28:31 +00:00
[WINESYNC] dbghelp: Turn variable 'code' into a static constant.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id f333c4a210e25bbb8af2adeeae0dbe006354519b by Alex Henrie <alexhenrie24@gmail.com>
This commit is contained in:
parent
bba2a6162b
commit
f243e09624
2 changed files with 2 additions and 2 deletions
|
@ -670,7 +670,7 @@ static unsigned dump_system_info(struct dump_context* dc)
|
||||||
/* write Wine specific system information just behind the structure, and before any string */
|
/* write Wine specific system information just behind the structure, and before any string */
|
||||||
if (wine_extra)
|
if (wine_extra)
|
||||||
{
|
{
|
||||||
char code[] = {'W','I','N','E'};
|
static const char code[] = {'W','I','N','E'};
|
||||||
|
|
||||||
WriteFile(dc->hFile, code, 4, &written, NULL);
|
WriteFile(dc->hFile, code, 4, &written, NULL);
|
||||||
/* number of sub-info, so that we can extend structure if needed */
|
/* number of sub-info, so that we can extend structure if needed */
|
||||||
|
|
|
@ -3,4 +3,4 @@ directories:
|
||||||
files:
|
files:
|
||||||
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
include/dbghelp.h: sdk/include/psdk/dbghelp.h
|
||||||
tags:
|
tags:
|
||||||
wine: 86805c3d4b78e69e675e72f57a21254d3d580ddd
|
wine: f333c4a210e25bbb8af2adeeae0dbe006354519b
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue