]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Correct the parameter order in match2 sample opcode
authorDandan Bi <dandan.bi@intel.com>
Sun, 26 Jul 2015 08:03:40 +0000 (08:03 +0000)
committerjljusten <jljusten@Edk2>
Sun, 26 Jul 2015 08:03:40 +0000 (08:03 +0000)
The first parameter of match2 opcode should be the pattern
and the second one should be the string.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18052 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Universal/DriverSampleDxe/Vfr.vfr

index 68f34623a51e2d36822c34e5ea2b16fdbaa80afe..1366e827f21810202953ba5d07fed27f216b2544 100644 (file)
@@ -653,7 +653,7 @@ formset
             refresh interval = 3             // Refresh interval in seconds\r
     endnumeric;\r
 \r
-    grayoutif  match2 (stringref(STRING_TOKEN(STR_STRING)), stringref(STRING_TOKEN(STR_PATTERN)), PERL_GUID);\r
+    grayoutif  match2 (stringref(STRING_TOKEN(STR_PATTERN)), stringref(STRING_TOKEN(STR_STRING)), PERL_GUID);\r
       numeric \r
         varid   = MyIfrNVData.Match2,\r
         prompt  = STRING_TOKEN(STR_MATCH2_PROMPT),\r