#549 removed a vestigial bit of expression from a direction I ended up not going in

This commit is contained in:
jmarlin 2015-07-30 18:37:15 -04:00
parent 837f799058
commit d57d951d39
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ DWORD CMemoryLabel::AsciiToHex (char * HexValue)
for (Count = 0; Count < Finish; Count++)
{
Value = (Value << 4);
Current = HexValue[Count] - '0';
Current = HexValue[Count];
if(Current >= '0' && Current <= '9')
{
Value += Current - '0';
@ -35,7 +35,7 @@ DWORD CMemoryLabel::AsciiToHex (char * HexValue)
if (Current >= 'A' && Current <= 'F')
{
Value += Current + 10 - 'A';
Value += Current - 55; //55 is the code for 'A' less 10
}
else
{