Revision: 13705
          http://edk2.svn.sourceforge.net/edk2/?rev=13705&view=rev
Author:   ydong10
Date:     2012-09-07 01:54:47 +0000 (Fri, 07 Sep 2012)
Log Message:
-----------
Fix display color error when scroll up/down the screen.

Signed-off-by: Eric Dong <[email protected]>
Reviewed-by: Jaben Carsey <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ShellPkg/Application/Shell/ConsoleLogger.c

Modified: trunk/edk2/ShellPkg/Application/Shell/ConsoleLogger.c
===================================================================
--- trunk/edk2/ShellPkg/Application/Shell/ConsoleLogger.c       2012-09-07 
01:35:44 UTC (rev 13704)
+++ trunk/edk2/ShellPkg/Application/Shell/ConsoleLogger.c       2012-09-07 
01:54:47 UTC (rev 13705)
@@ -473,7 +473,7 @@
             ; Index < ConsoleInfo->ColsPerScreen
             ; Index++
            ){
-          *(ConsoleInfo->Attributes + 
(CopySize/sizeof(ConsoleInfo->Attributes)) + Index) = 
ConsoleInfo->HistoryMode.Attribute;
+          *(ConsoleInfo->Attributes + 
(CopySize/sizeof(ConsoleInfo->Attributes[0])) + Index) = 
ConsoleInfo->HistoryMode.Attribute;
         }
 
         //

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to