mirror of https://github.com/acidanthera/audk.git
ShellPkg: leave quotes around params
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15875 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
a0d367299f
commit
5eadb80f09
|
@ -85,7 +85,11 @@ GetNextParameter(
|
||||||
StrCpy(*TempParameter, L"");
|
StrCpy(*TempParameter, L"");
|
||||||
*Walker = NextDelim + 1;
|
*Walker = NextDelim + 1;
|
||||||
} else if (NextDelim != NULL) {
|
} else if (NextDelim != NULL) {
|
||||||
StrnCpy(*TempParameter, (*Walker)+1, NextDelim - ((*Walker)+1));
|
|
||||||
|
//
|
||||||
|
// Copy ensuring that both quotes are left in place.
|
||||||
|
//
|
||||||
|
StrnCpy(*TempParameter, (*Walker), NextDelim - *Walker + 1);
|
||||||
*Walker = NextDelim + 1;
|
*Walker = NextDelim + 1;
|
||||||
} else {
|
} else {
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue