]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Fix a bug in the assert condition.
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 29 Aug 2008 05:34:35 +0000 (05:34 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 29 Aug 2008 05:34:35 +0000 (05:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5753 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Library/HiiLib.h

index ac2248e81021fa41c97418cfbe5134ea533ff8c2..9bad5b47761a24b932d7c1e29aa0f9e0536830fa 100644 (file)
@@ -155,8 +155,8 @@ HiiLibSetString (
   This function try to retrieve string from String package of current language.\r
   If fails, it try to retrieve string from String package of first language it support.\r
 \r
-  If String is NULL, then ASSERT.\r
   If StringSize is NULL, then ASSERT.\r
+  If String is NULL and *StringSize is not 0, then ASSERT.\r
   If PackageList could not be found in the default HII database, then ASSERT.\r
   If StringId is not found in PackageList, then ASSERT.\r
 \r