diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-29 05:34:35 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-08-29 05:34:35 +0000 |
commit | 0276b838a1ccac7868a37b9cc0aa4fde07cae4bb (patch) | |
tree | f33296083e00c98d2c0a6b954a42bd3639c6ab17 /MdePkg/Include | |
parent | 138f2f82d8196c39635d0bfd68d87c65153a7c54 (diff) | |
download | edk2-platforms-0276b838a1ccac7868a37b9cc0aa4fde07cae4bb.tar.xz |
Fix a bug in the assert condition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5753 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Library/HiiLib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Library/HiiLib.h b/MdePkg/Include/Library/HiiLib.h index ac2248e810..9bad5b4776 100644 --- a/MdePkg/Include/Library/HiiLib.h +++ b/MdePkg/Include/Library/HiiLib.h @@ -155,8 +155,8 @@ HiiLibSetString ( This function try to retrieve string from String package of current language.
If fails, it try to retrieve string from String package of first language it support.
- If String is NULL, then ASSERT.
If StringSize is NULL, then ASSERT.
+ If String is NULL and *StringSize is not 0, then ASSERT.
If PackageList could not be found in the default HII database, then ASSERT.
If StringId is not found in PackageList, then ASSERT.
|