mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 09:13:01 +00:00
Fix r26764.
svn path=/trunk/; revision=26766
This commit is contained in:
parent
ec669d109c
commit
e834db9305
1 changed files with 4 additions and 4 deletions
|
@ -1043,8 +1043,8 @@ ExpInitializeExecutive(IN ULONG Cpu,
|
||||||
|
|
||||||
/* Remove trailing newline */
|
/* Remove trailing newline */
|
||||||
while ((CsdString.Length > 0) &&
|
while ((CsdString.Length > 0) &&
|
||||||
((CsdString.Buffer[CsdString.Length] == '\r') ||
|
((CsdString.Buffer[CsdString.Length - 1] == '\r') ||
|
||||||
(CsdString.Buffer[CsdString.Length] == '\n')))
|
(CsdString.Buffer[CsdString.Length - 1] == '\n')))
|
||||||
{
|
{
|
||||||
/* Skip the trailing character */
|
/* Skip the trailing character */
|
||||||
CsdString.Length--;
|
CsdString.Length--;
|
||||||
|
@ -1466,8 +1466,8 @@ Phase1InitializationDiscard(IN PVOID Context)
|
||||||
|
|
||||||
/* Make sure to remove the \r\n if we actually have a string */
|
/* Make sure to remove the \r\n if we actually have a string */
|
||||||
while ((TempString.Length > 0) &&
|
while ((TempString.Length > 0) &&
|
||||||
((TempString.Buffer[TempString.Length] == '\r') ||
|
((TempString.Buffer[TempString.Length - 1] == '\r') ||
|
||||||
(TempString.Buffer[TempString.Length] == '\n')))
|
(TempString.Buffer[TempString.Length - 1] == '\n')))
|
||||||
{
|
{
|
||||||
/* Skip the trailing character */
|
/* Skip the trailing character */
|
||||||
TempString.Length--;
|
TempString.Length--;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue