]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg: Refine the code logic of StrnCatGrow.
authorQiu Shumin <shumin.qiu@intel.com>
Thu, 2 Jul 2015 01:12:03 +0000 (01:12 +0000)
committershenshushi <shenshushi@Edk2>
Thu, 2 Jul 2015 01:12:03 +0000 (01:12 +0000)
commitc587fd3eddce6532b3b71bf80a9cf0d70b7f45e7
treed9e46e043ffccb991f883eb0be41a7b4b51463b9
parent3735017c6eb43381f0d9bd572bce141780d33c79
ShellPkg: Refine the code logic of StrnCatGrow.

In order to indicate the catena length use StrnCatS instead of StrCatS to generate Destination string, and update the DestMax of Destination string.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Qiu Shumin <shumin.qiu@intel.com>
Reviewed-by: Tapan Shah <tapandshah@hp.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17795 6f19259b-4bc3-4df7-8a09-765794883524
ShellPkg/Library/UefiShellLib/UefiShellLib.c