kopia lustrzana https://github.com/njcrawford/EmbroideryReader
Fix swapped digits in 7-bit mask
rodzic
72158feeeb
commit
0a2f9efa97
|
@ -187,7 +187,7 @@ namespace PesFile
|
||||||
SByte retval;
|
SByte retval;
|
||||||
|
|
||||||
// Ignore the 8th bit. (make sure it's 0)
|
// Ignore the 8th bit. (make sure it's 0)
|
||||||
b &= 0xf7;
|
b &= 0x7f;
|
||||||
|
|
||||||
// Check for a negative number (check if 7th bit is 1)
|
// Check for a negative number (check if 7th bit is 1)
|
||||||
if ((b & 0x40) == 0x40)
|
if ((b & 0x40) == 0x40)
|
||||||
|
|
Ładowanie…
Reference in New Issue