Author: cfinck
Date: Thu Jul 2 19:23:19 2009
New Revision: 41741
URL:
http://svn.reactos.org/svn/reactos?rev=41741&view=rev
Log:
Fix line cache
Modified:
trunk/tools/sysreg2/console.c
Modified: trunk/tools/sysreg2/console.c
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/sysreg2/console.c?rev=41741&…
==============================================================================
--- trunk/tools/sysreg2/console.c [iso-8859-1] (original)
+++ trunk/tools/sysreg2/console.c [iso-8859-1] Thu Jul 2 19:23:19 2009
@@ -156,7 +156,7 @@
else
{
CacheHits = 0;
- memcpy(CacheBuffer, Buffer, bp - Buffer);
+ memcpy(CacheBuffer, Buffer, bp - Buffer + 1);
}
/* Output the line, raddr2line the included addresses if necessary */