mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:23:34 +00:00
Fix duplicated startup version string
Patch by Thomas Faber <thfabba at gmx dot de> See issue #6015 for more details. svn path=/trunk/; revision=51165
This commit is contained in:
parent
ac4083c6d7
commit
164140d904
1 changed files with 5 additions and 2 deletions
|
@ -1410,10 +1410,13 @@ Phase1InitializationDiscard(IN PVOID Context)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* No version */
|
/* No version */
|
||||||
*EndBuffer++ = ANSI_NULL; /* Null-terminate the string */
|
*EndBuffer = ANSI_NULL; /* Null-terminate the string */
|
||||||
--Remaining;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Skip over the null-terminator to start a new string */
|
||||||
|
++EndBuffer;
|
||||||
|
--Remaining;
|
||||||
|
|
||||||
/* Build the version number */
|
/* Build the version number */
|
||||||
StringBuffer = InitBuffer->VersionNumber;
|
StringBuffer = InitBuffer->VersionNumber;
|
||||||
Status = RtlStringCbPrintfA(StringBuffer,
|
Status = RtlStringCbPrintfA(StringBuffer,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue