Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | dont check for same BOM twice |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
8c32e6f0dd098844c1a8c89c577b7f0f |
| User & Date: | jan.nijtmans 2012-11-01 07:40:17.286 |
Context
|
2012-11-01
| ||
| 10:20 | Restore Style fix, which got lost by [618258421767778c] ... (check-in: ef6c243ed9 user: jan.nijtmans tags: trunk) | |
| 07:40 | dont check for same BOM twice ... (check-in: 8c32e6f0dd user: jan.nijtmans tags: trunk) | |
| 03:44 | Merge commit warning and looks_like_text() enhancements to trunk. Further changes based on these will occur on a branch. ... (check-in: 6182584217 user: mistachkin tags: trunk) | |
Changes
Changes to src/diff.c.
| ︙ | ︙ | |||
229 230 231 232 233 234 235 |
const char *z = blob_buffer(pContent);
int c1, c2;
if( blob_size(pContent)<2 ) return 0;
c1 = z[0]; c2 = z[1];
if( (c1==(char)0xff) && (c2==(char)0xfe) ){
return 1;
| | | 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 |
const char *z = blob_buffer(pContent);
int c1, c2;
if( blob_size(pContent)<2 ) return 0;
c1 = z[0]; c2 = z[1];
if( (c1==(char)0xff) && (c2==(char)0xfe) ){
return 1;
}else if( (c1==(char)0xfe) && (c2==(char)0xff) ){
return 1;
}
return 0;
}
/*
** Return true if two DLine elements are identical.
|
| ︙ | ︙ |