Changeset 3376


Ignore:
Timestamp:
11/16/07 11:34:13 (13 years ago)
Author:
melissa
Message:

Fixed endian problem.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/TiffTools.java

    r3374 r3376  
    19221922        } 
    19231923        for (int i=0; i<s.length; i++) { 
    1924           input[little ? i*2 : i*2 + 1] = (byte) (s[i] & 0xff); 
    1925           input[little ? i*2 + 1 : i*2] = (byte) ((s[i] >> 8) & 0xff); 
     1924          input[little ? i*2 + 1: i*2] = (byte) (s[i] & 0xff); 
     1925          input[little ? i*2 : i*2 + 1] = (byte) ((s[i] >> 8) & 0xff); 
    19261926        } 
    19271927      } 
Note: See TracChangeset for help on using the changeset viewer.