summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Console/GraphicsConsoleDxe
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-27 07:45:01 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-06-27 07:45:01 +0000
commitbd1d34eecf99184b62bf460bc0b3ba3725b9a9e7 (patch)
tree0de6c80772be5ebac8864552f3fab6321aca00c7 /MdeModulePkg/Universal/Console/GraphicsConsoleDxe
parentfaff3b4782dbce28fcfa6b271945d4448069c62a (diff)
downloadedk2-platforms-bd1d34eecf99184b62bf460bc0b3ba3725b9a9e7.tar.xz
Change the ASSERT condition from “ASSERT (RowInfoArraySize == 1);” to “ASSERT (RowInfoArraySize <= 1);”.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5374 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/GraphicsConsoleDxe')
-rw-r--r--MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
index 173070f8e9..caaa4dd46f 100644
--- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
+++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.c
@@ -1767,9 +1767,9 @@ DrawUnicodeWeightAtCursorN (
if (!EFI_ERROR (Status)) {
//
// Line breaks are handled by caller of DrawUnicodeWeightAtCursorN, so the updated parameter RowInfoArraySize by StringToImage will
- // always be 1. ASSERT here to make sure.
+ // always be 1 or 0 (if there is no valid Unicode Char can be printed). ASSERT here to make sure.
//
- ASSERT (RowInfoArraySize == 1);
+ ASSERT (RowInfoArraySize <= 1);
Status = UgaDraw->Blt (
UgaDraw,