Fossil SCM

Make the title of a deleted forum thread "(Deleted)".

drh 2018-07-31 17:38 forum-v2
Commit 46697ca1951622905d5f829fd3e44e976bbabe0881b254ecd9a08031ec435ce5
1 file changed +1 -1
+1 -1
--- src/manifest.c
+++ src/manifest.c
@@ -2531,11 +2531,11 @@
25312531
if( firt==0 ){
25322532
/* This is the start of a new thread, either the initial entry
25332533
** or an edit of the initial entry. */
25342534
zTitle = p->zThreadTitle;
25352535
if( zTitle==0 || zTitle[0]==0 ){
2536
- zTitle = "<i>Deleted</i>";
2536
+ zTitle = "(Deleted)";
25372537
}
25382538
zFType = fprev ? "Edit" : "Post";
25392539
db_multi_exec(
25402540
"REPLACE INTO event(type,mtime,objid,user,comment)"
25412541
"VALUES('f',%.17g,%d,%Q,'%q: %q')",
25422542
--- src/manifest.c
+++ src/manifest.c
@@ -2531,11 +2531,11 @@
2531 if( firt==0 ){
2532 /* This is the start of a new thread, either the initial entry
2533 ** or an edit of the initial entry. */
2534 zTitle = p->zThreadTitle;
2535 if( zTitle==0 || zTitle[0]==0 ){
2536 zTitle = "<i>Deleted</i>";
2537 }
2538 zFType = fprev ? "Edit" : "Post";
2539 db_multi_exec(
2540 "REPLACE INTO event(type,mtime,objid,user,comment)"
2541 "VALUES('f',%.17g,%d,%Q,'%q: %q')",
2542
--- src/manifest.c
+++ src/manifest.c
@@ -2531,11 +2531,11 @@
2531 if( firt==0 ){
2532 /* This is the start of a new thread, either the initial entry
2533 ** or an edit of the initial entry. */
2534 zTitle = p->zThreadTitle;
2535 if( zTitle==0 || zTitle[0]==0 ){
2536 zTitle = "(Deleted)";
2537 }
2538 zFType = fprev ? "Edit" : "Post";
2539 db_multi_exec(
2540 "REPLACE INTO event(type,mtime,objid,user,comment)"
2541 "VALUES('f',%.17g,%d,%Q,'%q: %q')",
2542

Keyboard Shortcuts

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