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:
Dandan Bi 2016-08-09 09:52:18 +08:00 committed by Star Zeng
parent 6e227fb5d8
commit bfaa3b5b7f
1 changed files with 5 additions and 0 deletions

View File

@ -777,6 +777,11 @@ AppendAltCfgString (
}
StringPtr += Length;
//
// Skip the character "&" before "OFFSET".
//
StringPtr ++;
//
// Calculate Value and convert it to hex string.
//