mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 14:05:42 +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
|
||||
{
|
||||
/* No version */
|
||||
*EndBuffer++ = ANSI_NULL; /* Null-terminate the string */
|
||||
--Remaining;
|
||||
*EndBuffer = ANSI_NULL; /* Null-terminate the string */
|
||||
}
|
||||
|
||||
/* Skip over the null-terminator to start a new string */
|
||||
++EndBuffer;
|
||||
--Remaining;
|
||||
|
||||
/* Build the version number */
|
||||
StringBuffer = InitBuffer->VersionNumber;
|
||||
Status = RtlStringCbPrintfA(StringBuffer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue