Author: ion
Date: Sun May 13 23:57:35 2007
New Revision: 26763
URL:
http://svn.reactos.org/svn/reactos?rev=26763&view=rev
Log:
- Remove confusion.
Modified:
trunk/reactos/ntoskrnl/ex/init.c
Modified: trunk/reactos/ntoskrnl/ex/init.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ex/init.c?rev=267…
==============================================================================
--- trunk/reactos/ntoskrnl/ex/init.c (original)
+++ trunk/reactos/ntoskrnl/ex/init.c Sun May 13 23:57:35 2007
@@ -1040,7 +1040,7 @@
{
/* Setup the string */
RtlInitAnsiString(&CsdString, MsgEntry->Text);
- CsdString.Length -= sizeof(UNICODE_NULL);
+ CsdString.Length -= 2;
Status = RtlStringCbPrintfA(Buffer,
sizeof(Buffer),
"%Z %u%c",
@@ -1455,7 +1455,7 @@
RtlInitAnsiString(&TempString, MpString);
/* Make sure to remove the \r\n if we actually have a string */
- if (TempString.Length >= 2) TempString.Length -= sizeof(UNICODE_NULL);
+ if (TempString.Length >= 2) TempString.Length -= sizeof(2);
/* Get the information string from our resource file */
MsgStatus = RtlFindMessage(NtosEntry->DllBase,