Fossil SCM

Remove an unused enum entry.

stephan 2026-05-28 19:15 UTC forum-statuses
Commit f798c3445fbe9b137d5e74743f395791ad7db89bdf0d02021346b96a2c333175
1 file changed +1 -3
+1 -3
--- src/forum.c
+++ src/forum.c
@@ -1070,11 +1070,10 @@
10701070
/* Flags for use with forum_display_post() */
10711071
#define FDISPLAY_RAW 0x01 /* omit the border */
10721072
#define FDISPLAY_UNFORMATTED 0x02 /* leave the post unformatted */
10731073
#define FDISPLAY_HISTORY 0x04 /* Showing edit history */
10741074
#define FDISPLAY_SELECTED 0x08 /* This is the selected post */
1075
-#define FDISPLAY_ISROOT 0x10 /* This is the root post */
10761075
10771076
/*
10781077
** Display a single post in a forum thread.
10791078
*/
10801079
static void forum_display_post(
@@ -1417,12 +1416,11 @@
14171416
forum_display_post(
14181417
pThread, p, iIndentScale,
14191418
(mode==FD_RAW ? FDISPLAY_RAW : 0) |
14201419
(bUnf ? FDISPLAY_UNFORMATTED : 0) |
14211420
(bHist ? FDISPLAY_HISTORY : 0) |
1422
- (p==pSelect ? FDISPLAY_SELECTED : 0) |
1423
- ((0==fpid || fpid==froot) ? FDISPLAY_ISROOT : 0),
1421
+ (p==pSelect ? FDISPLAY_SELECTED : 0),
14241422
zQuery
14251423
);
14261424
14271425
/* Advance to the next post in the thread. */
14281426
if( mode==FD_CHRONO ){
14291427
--- src/forum.c
+++ src/forum.c
@@ -1070,11 +1070,10 @@
1070 /* Flags for use with forum_display_post() */
1071 #define FDISPLAY_RAW 0x01 /* omit the border */
1072 #define FDISPLAY_UNFORMATTED 0x02 /* leave the post unformatted */
1073 #define FDISPLAY_HISTORY 0x04 /* Showing edit history */
1074 #define FDISPLAY_SELECTED 0x08 /* This is the selected post */
1075 #define FDISPLAY_ISROOT 0x10 /* This is the root post */
1076
1077 /*
1078 ** Display a single post in a forum thread.
1079 */
1080 static void forum_display_post(
@@ -1417,12 +1416,11 @@
1417 forum_display_post(
1418 pThread, p, iIndentScale,
1419 (mode==FD_RAW ? FDISPLAY_RAW : 0) |
1420 (bUnf ? FDISPLAY_UNFORMATTED : 0) |
1421 (bHist ? FDISPLAY_HISTORY : 0) |
1422 (p==pSelect ? FDISPLAY_SELECTED : 0) |
1423 ((0==fpid || fpid==froot) ? FDISPLAY_ISROOT : 0),
1424 zQuery
1425 );
1426
1427 /* Advance to the next post in the thread. */
1428 if( mode==FD_CHRONO ){
1429
--- src/forum.c
+++ src/forum.c
@@ -1070,11 +1070,10 @@
1070 /* Flags for use with forum_display_post() */
1071 #define FDISPLAY_RAW 0x01 /* omit the border */
1072 #define FDISPLAY_UNFORMATTED 0x02 /* leave the post unformatted */
1073 #define FDISPLAY_HISTORY 0x04 /* Showing edit history */
1074 #define FDISPLAY_SELECTED 0x08 /* This is the selected post */
 
1075
1076 /*
1077 ** Display a single post in a forum thread.
1078 */
1079 static void forum_display_post(
@@ -1417,12 +1416,11 @@
1416 forum_display_post(
1417 pThread, p, iIndentScale,
1418 (mode==FD_RAW ? FDISPLAY_RAW : 0) |
1419 (bUnf ? FDISPLAY_UNFORMATTED : 0) |
1420 (bHist ? FDISPLAY_HISTORY : 0) |
1421 (p==pSelect ? FDISPLAY_SELECTED : 0),
 
1422 zQuery
1423 );
1424
1425 /* Advance to the next post in the thread. */
1426 if( mode==FD_CHRONO ){
1427

Keyboard Shortcuts

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