fix a bug of incorrectly judge the end of variable arguments.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8386 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
eric_tian 2009-05-26 07:27:13 +00:00
parent 8aea08dc20
commit 31b440cfa6
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ BdsLibOutputStrings (
// If String is NULL, then it's the end of the list
//
String = VA_ARG (Args, CHAR16 *);
if (String != NULL) {
if (String == NULL) {
break;
}