Fossil

Check-in [eb1db585a5]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a C++-ism in timeline.c.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: eb1db585a5b625063d50c08702cb9f9f0bb0e750
User & Date: drh 2009-09-14 16:56:29.000
References
2009-09-14
18:40 Ticket [8d073be880] diff/editor/gdiff settings don't support paths with spaces status still Fixed with 1 other change ... (artifact: 93ca33fd8a user: anonymous)
Context
2009-09-14
19:16
Add the "scrub" command to remove passwords and other sensitive information from a repository. Ticket [e5232878345]. ... (check-in: 6c6a978a53 user: drh tags: trunk)
16:56
Fix a C++-ism in timeline.c. ... (check-in: eb1db585a5 user: drh tags: trunk)
16:09
Formatting changes to the similar event suppression in the timeline. ... (check-in: 8cf8ed785e user: drh tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/timeline.c.
159
160
161
162
163
164
165
166
167
168
169

170

171
172
173
174
175
176
177
  Stmt *pQuery,          /* Query to implement the timeline */
  int tmFlags,           /* Flags controlling display behavior */
  void (*xExtra)(int)    /* Routine to call on each line of display */
){
  int wikiFlags;
  int mxWikiLen;
  Blob comment;
  char zPrevDate[20];
  zPrevDate[0] = 0;
  int prevTagid = 0;
  int suppressCnt = 0;



  mxWikiLen = db_get_int("timeline-max-comment", 0);
  if( db_get_boolean("timeline-block-markup", 0) ){
    wikiFlags = WIKI_INLINE;
  }else{
    wikiFlags = WIKI_INLINE | WIKI_NOBLOCK;
  }








<
<


>

>







159
160
161
162
163
164
165


166
167
168
169
170
171
172
173
174
175
176
177
  Stmt *pQuery,          /* Query to implement the timeline */
  int tmFlags,           /* Flags controlling display behavior */
  void (*xExtra)(int)    /* Routine to call on each line of display */
){
  int wikiFlags;
  int mxWikiLen;
  Blob comment;


  int prevTagid = 0;
  int suppressCnt = 0;
  char zPrevDate[20];

  zPrevDate[0] = 0;
  mxWikiLen = db_get_int("timeline-max-comment", 0);
  if( db_get_boolean("timeline-block-markup", 0) ){
    wikiFlags = WIKI_INLINE;
  }else{
    wikiFlags = WIKI_INLINE | WIKI_NOBLOCK;
  }