Fossil SCM
Correctly show the edited and original comments on the /info page for check-ins. Fixes a bug spotted by Stephan Beal.
Commit
f5bcc25ac08b1512194508f1cd4042f1f5388ff163704edae120865149911730
Parent
6b41a7e803348a9…
1 file changed
+2
-1
+2
-1
| --- src/info.c | ||
| +++ src/info.c | ||
| @@ -695,11 +695,12 @@ | ||
| 695 | 695 | zDate = db_column_text(&q1,1); |
| 696 | 696 | zOrigDate = db_column_text(&q1, 4); |
| 697 | 697 | if( zOrigDate==0 ) zOrigDate = zDate; |
| 698 | 698 | @ <div class="section">Overview</div> |
| 699 | 699 | @ <table class="label-value"> |
| 700 | - @ <tr><th>Comment:</th><td class="infoComment">%!W(zComment)</td></tr> | |
| 700 | + @ <tr><th>Comment:</th><td class="infoComment">\ | |
| 701 | + @ %!W(zEComment?zEComment:zComment)</td></tr> | |
| 701 | 702 | |
| 702 | 703 | /* The Download: line */ |
| 703 | 704 | if( g.perm.Zip ){ |
| 704 | 705 | char *zPJ = db_get("short-project-name", 0); |
| 705 | 706 | char *zUrl; |
| 706 | 707 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -695,11 +695,12 @@ | |
| 695 | zDate = db_column_text(&q1,1); |
| 696 | zOrigDate = db_column_text(&q1, 4); |
| 697 | if( zOrigDate==0 ) zOrigDate = zDate; |
| 698 | @ <div class="section">Overview</div> |
| 699 | @ <table class="label-value"> |
| 700 | @ <tr><th>Comment:</th><td class="infoComment">%!W(zComment)</td></tr> |
| 701 | |
| 702 | /* The Download: line */ |
| 703 | if( g.perm.Zip ){ |
| 704 | char *zPJ = db_get("short-project-name", 0); |
| 705 | char *zUrl; |
| 706 |
| --- src/info.c | |
| +++ src/info.c | |
| @@ -695,11 +695,12 @@ | |
| 695 | zDate = db_column_text(&q1,1); |
| 696 | zOrigDate = db_column_text(&q1, 4); |
| 697 | if( zOrigDate==0 ) zOrigDate = zDate; |
| 698 | @ <div class="section">Overview</div> |
| 699 | @ <table class="label-value"> |
| 700 | @ <tr><th>Comment:</th><td class="infoComment">\ |
| 701 | @ %!W(zEComment?zEComment:zComment)</td></tr> |
| 702 | |
| 703 | /* The Download: line */ |
| 704 | if( g.perm.Zip ){ |
| 705 | char *zPJ = db_get("short-project-name", 0); |
| 706 | char *zUrl; |
| 707 |