diff options
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe')
-rw-r--r-- | MdeModulePkg/Universal/SetupBrowserDxe/Setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c index e617f2f367..26acccd153 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c @@ -1179,7 +1179,7 @@ GetQuestionValue ( if ((Index & 1) == 0) {
Dst [Index/2] = DigitUint8;
} else {
- Dst [Index/2] = (UINT8) ((Dst [Index/2] << 4) + DigitUint8);
+ Dst [Index/2] = (UINT8) ((DigitUint8 << 4) + Dst [Index/2]);
}
}
}
@@ -1288,7 +1288,7 @@ GetQuestionValue ( if ((Index & 1) == 0) {
Dst [Index/2] = DigitUint8;
} else {
- Dst [Index/2] = (UINT8) ((Dst [Index/2] << 4) + DigitUint8);
+ Dst [Index/2] = (UINT8) ((DigitUint8 << 4) + Dst [Index/2]);
}
}
}
|