[NTDLL]
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 6 Dec 2012 21:52:09 +0000 (21:52 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 6 Dec 2012 21:52:09 +0000 (21:52 +0000)
Correct some comments.

svn path=/branches/ros-csrss/; revision=57808

dll/ntdll/csr/capture.c

index 70a2b18..3835def 100644 (file)
@@ -93,7 +93,7 @@ CsrAllocateCaptureBuffer(IN ULONG ArgumentCount,
     /* Validate size */
     if (BufferSize >= MAXLONG) return NULL;
 
     /* Validate size */
     if (BufferSize >= MAXLONG) return NULL;
 
-    /* Add the size of the header and for each pointer to the pointers */
+    /* Add the size of the header and for each offset to the pointers */
     BufferSize += FIELD_OFFSET(CSR_CAPTURE_BUFFER, PointerOffsetsArray) + (ArgumentCount * sizeof(ULONG_PTR));
 
     /* Align it to a 4-byte boundary */
     BufferSize += FIELD_OFFSET(CSR_CAPTURE_BUFFER, PointerOffsetsArray) + (ArgumentCount * sizeof(ULONG_PTR));
 
     /* Align it to a 4-byte boundary */
@@ -107,7 +107,7 @@ CsrAllocateCaptureBuffer(IN ULONG ArgumentCount,
     CaptureBuffer->Size = BufferSize;
     CaptureBuffer->PointerCount = 0;
 
     CaptureBuffer->Size = BufferSize;
     CaptureBuffer->PointerCount = 0;
 
-    /* Initialize all the pointers */
+    /* Initialize all the offsets */
     RtlZeroMemory(CaptureBuffer->PointerOffsetsArray,
                   ArgumentCount * sizeof(ULONG_PTR));
 
     RtlZeroMemory(CaptureBuffer->PointerOffsetsArray,
                   ArgumentCount * sizeof(ULONG_PTR));