mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/DriverSample: Skip the character "&" before "OFFSET="
When comparing the L"OFFSET=" with the ConfigResp string to find all the "OFFSET=" in ConfigResp, should skip the character "&" before "OFFSET=" in ConfigResp string. Cc: Liming Gao <liming.gao@intel.com> Cc: Eric Dong <eric.dong@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi <dandan.bi@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
6e227fb5d8
commit
bfaa3b5b7f
|
@ -777,6 +777,11 @@ AppendAltCfgString (
|
|||
}
|
||||
StringPtr += Length;
|
||||
|
||||
//
|
||||
// Skip the character "&" before "OFFSET".
|
||||
//
|
||||
StringPtr ++;
|
||||
|
||||
//
|
||||
// Calculate Value and convert it to hex string.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue