From 5ee0bf283e565bf43e5889724fd0151578222d44 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 9 Sep 2001 09:47:18 +0000 Subject: [PATCH] Fixed a bug in KdpPrintString(). When serial debug was enabled, than the bochs debug dosn't work. svn path=/trunk/; revision=2246 --- reactos/ntoskrnl/kd/kdebug.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/kd/kdebug.c b/reactos/ntoskrnl/kd/kdebug.c index 22a618d238d..eae7094f8d4 100644 --- a/reactos/ntoskrnl/kd/kdebug.c +++ b/reactos/ntoskrnl/kd/kdebug.c @@ -1,4 +1,4 @@ -/* $Id: kdebug.c,v 1.28 2001/08/30 20:38:19 dwelch Exp $ +/* $Id: kdebug.c,v 1.29 2001/09/09 09:47:18 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -204,7 +204,7 @@ KdInitSystem ( ULONG KdpPrintString (PANSI_STRING String) { PCH pch = String->Buffer; - + if (KdpDebugType & ScreenDebug) { HalDisplayString (String->Buffer); @@ -223,6 +223,7 @@ ULONG KdpPrintString (PANSI_STRING String) } if (KdpDebugType & BochsDebug) { + pch = String->Buffer; while (*pch != 0) { if (*pch == '\n')