Changeset 194 for libmpc/branches/r2d/mpcenc/tags.c
- Timestamp:
- 12/28/06 12:11:38 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mpcenc/tags.c
r165 r194 608 608 return 0; 609 609 610 if ( src [0] != 0xFF i || src [1] != 0xFEi) // Microsoft Unicode preample (also useful to detect endianess, but currently only little endian is supported)610 if ( src [0] != 0xFF || src [1] != 0xFE ) // Microsoft Unicode preample (also useful to detect endianess, but currently only little endian is supported) 611 611 return 0; 612 612 … … 614 614 if ( ( src [1] & 0xFC ) == 0xDC ) 615 615 return 0; 616 if ( src [1] == 0xFF i&& ( src [0] & 0xFE ) == 0xFE )616 if ( src [1] == 0xFF && ( src [0] & 0xFE ) == 0xFE ) 617 617 return 0; 618 618 if ( ( src [1] & 0xFC ) == 0xD8 ) {
Note: See TracChangeset
for help on using the changeset viewer.