[ros-diffs] [rharabien] 52064: [NTOSKRNL] - Reset KdbNumberOfRowsPrinted and KdbNumberOfColsPrinted before reading new command in kernel debugger so if previous command printed nearly full page, new command wo...

rharabien at svn.reactos.org rharabien at svn.reactos.org
Thu Jun 2 15:59:58 UTC 2011


Author: rharabien
Date: Thu Jun  2 15:59:57 2011
New Revision: 52064

URL: http://svn.reactos.org/svn/reactos?rev=52064&view=rev
Log:
[NTOSKRNL]
- Reset KdbNumberOfRowsPrinted and KdbNumberOfColsPrinted before reading new command in kernel debugger so if previous command printed nearly full page, new command won't show "Press q to abort" message before processing

Modified:
    trunk/reactos/ntoskrnl/kdbg/kdb_cli.c

Modified: trunk/reactos/ntoskrnl/kdbg/kdb_cli.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/kdbg/kdb_cli.c?rev=52064&r1=52063&r2=52064&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/kdbg/kdb_cli.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/kdbg/kdb_cli.c [iso-8859-1] Thu Jun  2 15:59:57 2011
@@ -2701,6 +2701,9 @@
     /* Main loop */
     do
     {
+        /* Reset the number of rows/cols printed */
+        KdbNumberOfRowsPrinted = KdbNumberOfColsPrinted = 0;
+
         /* Print the prompt */
         KdbpPrint("kdb:> ");
 




More information about the Ros-diffs mailing list