Fossil SCM
Fix a C++-ism in timeline.c.
Commit
eb1db585a5b625063d50c08702cb9f9f0bb0e750
Parent
8cf8ed785e19c54…
1 file changed
+2
-2
+2
-2
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -161,15 +161,15 @@ | ||
| 161 | 161 | void (*xExtra)(int) /* Routine to call on each line of display */ |
| 162 | 162 | ){ |
| 163 | 163 | int wikiFlags; |
| 164 | 164 | int mxWikiLen; |
| 165 | 165 | Blob comment; |
| 166 | - char zPrevDate[20]; | |
| 167 | - zPrevDate[0] = 0; | |
| 168 | 166 | int prevTagid = 0; |
| 169 | 167 | int suppressCnt = 0; |
| 168 | + char zPrevDate[20]; | |
| 170 | 169 | |
| 170 | + zPrevDate[0] = 0; | |
| 171 | 171 | mxWikiLen = db_get_int("timeline-max-comment", 0); |
| 172 | 172 | if( db_get_boolean("timeline-block-markup", 0) ){ |
| 173 | 173 | wikiFlags = WIKI_INLINE; |
| 174 | 174 | }else{ |
| 175 | 175 | wikiFlags = WIKI_INLINE | WIKI_NOBLOCK; |
| 176 | 176 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -161,15 +161,15 @@ | |
| 161 | void (*xExtra)(int) /* Routine to call on each line of display */ |
| 162 | ){ |
| 163 | int wikiFlags; |
| 164 | int mxWikiLen; |
| 165 | Blob comment; |
| 166 | char zPrevDate[20]; |
| 167 | zPrevDate[0] = 0; |
| 168 | int prevTagid = 0; |
| 169 | int suppressCnt = 0; |
| 170 | |
| 171 | mxWikiLen = db_get_int("timeline-max-comment", 0); |
| 172 | if( db_get_boolean("timeline-block-markup", 0) ){ |
| 173 | wikiFlags = WIKI_INLINE; |
| 174 | }else{ |
| 175 | wikiFlags = WIKI_INLINE | WIKI_NOBLOCK; |
| 176 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -161,15 +161,15 @@ | |
| 161 | void (*xExtra)(int) /* Routine to call on each line of display */ |
| 162 | ){ |
| 163 | int wikiFlags; |
| 164 | int mxWikiLen; |
| 165 | Blob comment; |
| 166 | int prevTagid = 0; |
| 167 | int suppressCnt = 0; |
| 168 | char zPrevDate[20]; |
| 169 | |
| 170 | zPrevDate[0] = 0; |
| 171 | mxWikiLen = db_get_int("timeline-max-comment", 0); |
| 172 | if( db_get_boolean("timeline-block-markup", 0) ){ |
| 173 | wikiFlags = WIKI_INLINE; |
| 174 | }else{ |
| 175 | wikiFlags = WIKI_INLINE | WIKI_NOBLOCK; |
| 176 |