kopia lustrzana https://gitlab.com/sane-project/backends
spelling fixes for sm3840 backend
rodzic
a94c17175f
commit
78dd1892ab
|
@ -996,7 +996,7 @@ fix_endian_short (unsigned short *data, int count)
|
|||
if (*firstbyte == 255)
|
||||
return; /* INTC endianness */
|
||||
|
||||
DBG (2, "swapping endiannes...\n");
|
||||
DBG (2, "swapping endianness...\n");
|
||||
for (i = 0; i < count; i++)
|
||||
data[i] = ((data[i] >> 8) & 0x00ff) | ((data[i] << 8) & 0xff00);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue