Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Do not attempt to translate tabs into spaces on a unified diff. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
b9126194035203b9ec01cf57fb01419e |
| User & Date: | drh 2012-12-15 21:55:16.241 |
Context
|
2012-12-16
| ||
| 07:16 | Remove unused local variable. ... (check-in: 01d6ef7cf8 user: mistachkin tags: trunk) | |
|
2012-12-15
| ||
| 21:55 | Do not attempt to translate tabs into spaces on a unified diff. ... (check-in: b912619403 user: drh tags: trunk) | |
| 15:18 | More tests in to the difference-engine test page. ... (check-in: 4f8631eb1d user: drh tags: trunk) | |
Changes
Changes to src/diff.c.
| ︙ | ︙ | |||
425 426 427 428 429 430 431 |
char *zHtml;
if( cPrefix=='+' ){
blob_append(pOut, "<span class=\"diffadd\">", -1);
}else if( cPrefix=='-' ){
blob_append(pOut, "<span class=\"diffrm\">", -1);
}
zHtml = htmlize(pLine->z, (pLine->h & LENGTH_MASK));
| < < < < | 425 426 427 428 429 430 431 432 433 434 435 436 437 438 |
char *zHtml;
if( cPrefix=='+' ){
blob_append(pOut, "<span class=\"diffadd\">", -1);
}else if( cPrefix=='-' ){
blob_append(pOut, "<span class=\"diffrm\">", -1);
}
zHtml = htmlize(pLine->z, (pLine->h & LENGTH_MASK));
blob_append(pOut, zHtml, -1);
fossil_free(zHtml);
if( cPrefix!=' ' ){
blob_append(pOut, "</span>", -1);
}
}else{
blob_append(pOut, pLine->z, pLine->h & LENGTH_MASK);
|
| ︙ | ︙ |