Fossil SCM

Typo fix: Turns out "edited" only has one "t". Who knew?

drh 2020-08-27 23:54 trunk
Commit 91ff34dc17646e4deb27b26c5ab309ee908466e156aeb7b069ab5eb5df979a58
1 file changed +5 -5
+5 -5
--- src/forum.c
+++ src/forum.c
@@ -462,13 +462,13 @@
462462
@ <h1>%h(pManifest->zThreadTitle)</h1>
463463
}
464464
465465
/* Begin emitting the header line. The forum of the title
466466
** varies depending on whether:
467
- ** * The post is uneditted
468
- ** * The post was last editted by the original author
469
- ** * The post was last editted by a different person
467
+ ** * The post is unedited
468
+ ** * The post was last edited by the original author
469
+ ** * The post was last edited by a different person
470470
*/
471471
if( p->pEditHead ){
472472
zDate = db_text(0, "SELECT datetime(%.17g)", p->pEditHead->rDate);
473473
}else{
474474
zPosterName = forum_post_display_name(p, pManifest);
@@ -480,11 +480,11 @@
480480
zEditorName = forum_post_display_name(p, pManifest);
481481
zHist = bHist ? "" : "&hist";
482482
@ <h3 class='forumPostHdr'>(%d(p->sid)\
483483
@ .%0*d(fossil_num_digits(p->nEdit))(p->rev)) \
484484
if( fossil_strcmp(zPosterName, zEditorName)==0 ){
485
- @ By %h(zPosterName) on %h(zDate) editted from \
485
+ @ By %h(zPosterName) on %h(zDate) edited from \
486486
@ %z(href("%R/forumpost/%S?%s%s",p->pEditPrev->zUuid,zQuery,zHist))\
487487
@ %d(p->sid).%0*d(fossil_num_digits(p->nEdit))(p->pEditPrev->rev)</a>
488488
}else{
489489
@ Originally by %h(zPosterName) \
490490
@ with edits by %h(zEditorName) on %h(zDate) from \
@@ -1120,11 +1120,11 @@
11201120
** WEBPAGE: forume2
11211121
**
11221122
** Edit an existing forum message.
11231123
** Query parameters:
11241124
**
1125
-** fpid=X Hash of the post to be editted. REQUIRED
1125
+** fpid=X Hash of the post to be edited. REQUIRED
11261126
*/
11271127
void forumedit_page(void){
11281128
int fpid;
11291129
int froot;
11301130
Manifest *pPost = 0;
11311131
--- src/forum.c
+++ src/forum.c
@@ -462,13 +462,13 @@
462 @ <h1>%h(pManifest->zThreadTitle)</h1>
463 }
464
465 /* Begin emitting the header line. The forum of the title
466 ** varies depending on whether:
467 ** * The post is uneditted
468 ** * The post was last editted by the original author
469 ** * The post was last editted by a different person
470 */
471 if( p->pEditHead ){
472 zDate = db_text(0, "SELECT datetime(%.17g)", p->pEditHead->rDate);
473 }else{
474 zPosterName = forum_post_display_name(p, pManifest);
@@ -480,11 +480,11 @@
480 zEditorName = forum_post_display_name(p, pManifest);
481 zHist = bHist ? "" : "&hist";
482 @ <h3 class='forumPostHdr'>(%d(p->sid)\
483 @ .%0*d(fossil_num_digits(p->nEdit))(p->rev)) \
484 if( fossil_strcmp(zPosterName, zEditorName)==0 ){
485 @ By %h(zPosterName) on %h(zDate) editted from \
486 @ %z(href("%R/forumpost/%S?%s%s",p->pEditPrev->zUuid,zQuery,zHist))\
487 @ %d(p->sid).%0*d(fossil_num_digits(p->nEdit))(p->pEditPrev->rev)</a>
488 }else{
489 @ Originally by %h(zPosterName) \
490 @ with edits by %h(zEditorName) on %h(zDate) from \
@@ -1120,11 +1120,11 @@
1120 ** WEBPAGE: forume2
1121 **
1122 ** Edit an existing forum message.
1123 ** Query parameters:
1124 **
1125 ** fpid=X Hash of the post to be editted. REQUIRED
1126 */
1127 void forumedit_page(void){
1128 int fpid;
1129 int froot;
1130 Manifest *pPost = 0;
1131
--- src/forum.c
+++ src/forum.c
@@ -462,13 +462,13 @@
462 @ <h1>%h(pManifest->zThreadTitle)</h1>
463 }
464
465 /* Begin emitting the header line. The forum of the title
466 ** varies depending on whether:
467 ** * The post is unedited
468 ** * The post was last edited by the original author
469 ** * The post was last edited by a different person
470 */
471 if( p->pEditHead ){
472 zDate = db_text(0, "SELECT datetime(%.17g)", p->pEditHead->rDate);
473 }else{
474 zPosterName = forum_post_display_name(p, pManifest);
@@ -480,11 +480,11 @@
480 zEditorName = forum_post_display_name(p, pManifest);
481 zHist = bHist ? "" : "&hist";
482 @ <h3 class='forumPostHdr'>(%d(p->sid)\
483 @ .%0*d(fossil_num_digits(p->nEdit))(p->rev)) \
484 if( fossil_strcmp(zPosterName, zEditorName)==0 ){
485 @ By %h(zPosterName) on %h(zDate) edited from \
486 @ %z(href("%R/forumpost/%S?%s%s",p->pEditPrev->zUuid,zQuery,zHist))\
487 @ %d(p->sid).%0*d(fossil_num_digits(p->nEdit))(p->pEditPrev->rev)</a>
488 }else{
489 @ Originally by %h(zPosterName) \
490 @ with edits by %h(zEditorName) on %h(zDate) from \
@@ -1120,11 +1120,11 @@
1120 ** WEBPAGE: forume2
1121 **
1122 ** Edit an existing forum message.
1123 ** Query parameters:
1124 **
1125 ** fpid=X Hash of the post to be edited. REQUIRED
1126 */
1127 void forumedit_page(void){
1128 int fpid;
1129 int froot;
1130 Manifest *pPost = 0;
1131

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button