copy the buffer to the right place in IntWriteConsoleOutput
authorThomas Bluemel <thomas@reactsoft.com>
Mon, 26 Sep 2005 11:35:23 +0000 (11:35 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Mon, 26 Sep 2005 11:35:23 +0000 (11:35 +0000)
svn path=/trunk/; revision=18087

reactos/lib/kernel32/misc/console.c

index fbef784..bda1f79 100644 (file)
@@ -2013,7 +2013,7 @@ IntWriteConsoleOutput(HANDLE hConsoleOutput,
                           (PVOID*)&Request.Data.WriteConsoleOutputRequest.CharInfo);
 
   /* Copy from the buffer */
-  RtlCopyMemory(&Request.Data.WriteConsoleOutputRequest.CharInfo, lpBuffer, Size);
+  RtlCopyMemory(Request.Data.WriteConsoleOutputRequest.CharInfo, lpBuffer, Size);
 
   /* Set up the data to send to the Console Server */
   CsrRequest = MAKE_CSR_API(WRITE_CONSOLE_OUTPUT, CSR_CONSOLE);