Fossil SCM

Fix a C++-ism in timeline.c.

drh 2009-09-14 16:56 trunk
Commit eb1db585a5b625063d50c08702cb9f9f0bb0e750
1 file changed +2 -2
+2 -2
--- src/timeline.c
+++ src/timeline.c
@@ -161,15 +161,15 @@
161161
void (*xExtra)(int) /* Routine to call on each line of display */
162162
){
163163
int wikiFlags;
164164
int mxWikiLen;
165165
Blob comment;
166
- char zPrevDate[20];
167
- zPrevDate[0] = 0;
168166
int prevTagid = 0;
169167
int suppressCnt = 0;
168
+ char zPrevDate[20];
170169
170
+ zPrevDate[0] = 0;
171171
mxWikiLen = db_get_int("timeline-max-comment", 0);
172172
if( db_get_boolean("timeline-block-markup", 0) ){
173173
wikiFlags = WIKI_INLINE;
174174
}else{
175175
wikiFlags = WIKI_INLINE | WIKI_NOBLOCK;
176176
--- 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

Keyboard Shortcuts

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