Fossil SCM

Inconsequential whitespace changes

andygoth 2016-10-24 15:47 andygoth-timeline-ms
Commit 9ffc50171058859f9b4dae5b9286fe72679dfe5b
1 file changed +5 -5
+5 -5
--- src/timeline.c
+++ src/timeline.c
@@ -281,11 +281,11 @@
281281
char zTime[20];
282282
283283
if( zDate==0 ){
284284
zDate = "YYYY-MM-DD HH:MM:SS"; /* Something wrong with the repo */
285285
}
286
- modPending = moderation_pending(rid);
286
+ modPending = moderation_pending(rid);
287287
if( tagid ){
288288
if( modPending ) tagid = -tagid;
289289
if( tagid==prevTagid ){
290290
if( tmFlags & TIMELINE_BRIEF ){
291291
suppressCnt++;
@@ -573,11 +573,11 @@
573573
}
574574
continue;
575575
}
576576
zA = href("%R/artifact/%!S",fid?zNew:zOld);
577577
if( content_is_private(fid) ){
578
- zUnpub = UNPUB_TAG;
578
+ zUnpub = UNPUB_TAG;
579579
}
580580
if( isNew ){
581581
@ <li> %s(zA)%h(zFilename)</a>%s(zId) %s(zUnpub)
582582
if( isMergeNew ){
583583
@ (added by merge)
@@ -1237,13 +1237,13 @@
12371237
** MS_GLOB, and MS_REGEXP match styles. For MS_EXACT, the returned expression
12381238
** checks for integer match against the tag ID which is looked up directly by
12391239
** this function. For the other modes, the returned SQL expression performs
12401240
** string comparisons against the tag names, so it is necessary to join against
12411241
** the tag table to access the "tagname" column.
1242
-**
1242
+**
12431243
** Each pattern is adjusted to to start with "sym-" and be anchored at end.
1244
-**
1244
+**
12451245
** In MS_REGEXP mode, backslash can be used to protect delimiter characters.
12461246
*/
12471247
static const char *tagMatchExpression(
12481248
MatchStyle matchStyle, /* Match style code */
12491249
const char *zTag, /* Tag name, match pattern, or list of patterns */
@@ -1259,11 +1259,11 @@
12591259
if( matchStyle==MS_EXACT ){
12601260
*pCount = 1;
12611261
return mprintf("(tagid=%d)", db_int(-1,
12621262
"SELECT tagid FROM tag WHERE tagname='sym-%q'", zTag));
12631263
}
1264
-
1264
+
12651265
/* Decide pattern prefix and suffix strings according to match style. */
12661266
if( matchStyle==MS_LIKE ){
12671267
zStart = "(";
12681268
zDelimiter = " OR ";
12691269
zEnd = ")";
12701270
--- src/timeline.c
+++ src/timeline.c
@@ -281,11 +281,11 @@
281 char zTime[20];
282
283 if( zDate==0 ){
284 zDate = "YYYY-MM-DD HH:MM:SS"; /* Something wrong with the repo */
285 }
286 modPending = moderation_pending(rid);
287 if( tagid ){
288 if( modPending ) tagid = -tagid;
289 if( tagid==prevTagid ){
290 if( tmFlags & TIMELINE_BRIEF ){
291 suppressCnt++;
@@ -573,11 +573,11 @@
573 }
574 continue;
575 }
576 zA = href("%R/artifact/%!S",fid?zNew:zOld);
577 if( content_is_private(fid) ){
578 zUnpub = UNPUB_TAG;
579 }
580 if( isNew ){
581 @ <li> %s(zA)%h(zFilename)</a>%s(zId) %s(zUnpub)
582 if( isMergeNew ){
583 @ (added by merge)
@@ -1237,13 +1237,13 @@
1237 ** MS_GLOB, and MS_REGEXP match styles. For MS_EXACT, the returned expression
1238 ** checks for integer match against the tag ID which is looked up directly by
1239 ** this function. For the other modes, the returned SQL expression performs
1240 ** string comparisons against the tag names, so it is necessary to join against
1241 ** the tag table to access the "tagname" column.
1242 **
1243 ** Each pattern is adjusted to to start with "sym-" and be anchored at end.
1244 **
1245 ** In MS_REGEXP mode, backslash can be used to protect delimiter characters.
1246 */
1247 static const char *tagMatchExpression(
1248 MatchStyle matchStyle, /* Match style code */
1249 const char *zTag, /* Tag name, match pattern, or list of patterns */
@@ -1259,11 +1259,11 @@
1259 if( matchStyle==MS_EXACT ){
1260 *pCount = 1;
1261 return mprintf("(tagid=%d)", db_int(-1,
1262 "SELECT tagid FROM tag WHERE tagname='sym-%q'", zTag));
1263 }
1264
1265 /* Decide pattern prefix and suffix strings according to match style. */
1266 if( matchStyle==MS_LIKE ){
1267 zStart = "(";
1268 zDelimiter = " OR ";
1269 zEnd = ")";
1270
--- src/timeline.c
+++ src/timeline.c
@@ -281,11 +281,11 @@
281 char zTime[20];
282
283 if( zDate==0 ){
284 zDate = "YYYY-MM-DD HH:MM:SS"; /* Something wrong with the repo */
285 }
286 modPending = moderation_pending(rid);
287 if( tagid ){
288 if( modPending ) tagid = -tagid;
289 if( tagid==prevTagid ){
290 if( tmFlags & TIMELINE_BRIEF ){
291 suppressCnt++;
@@ -573,11 +573,11 @@
573 }
574 continue;
575 }
576 zA = href("%R/artifact/%!S",fid?zNew:zOld);
577 if( content_is_private(fid) ){
578 zUnpub = UNPUB_TAG;
579 }
580 if( isNew ){
581 @ <li> %s(zA)%h(zFilename)</a>%s(zId) %s(zUnpub)
582 if( isMergeNew ){
583 @ (added by merge)
@@ -1237,13 +1237,13 @@
1237 ** MS_GLOB, and MS_REGEXP match styles. For MS_EXACT, the returned expression
1238 ** checks for integer match against the tag ID which is looked up directly by
1239 ** this function. For the other modes, the returned SQL expression performs
1240 ** string comparisons against the tag names, so it is necessary to join against
1241 ** the tag table to access the "tagname" column.
1242 **
1243 ** Each pattern is adjusted to to start with "sym-" and be anchored at end.
1244 **
1245 ** In MS_REGEXP mode, backslash can be used to protect delimiter characters.
1246 */
1247 static const char *tagMatchExpression(
1248 MatchStyle matchStyle, /* Match style code */
1249 const char *zTag, /* Tag name, match pattern, or list of patterns */
@@ -1259,11 +1259,11 @@
1259 if( matchStyle==MS_EXACT ){
1260 *pCount = 1;
1261 return mprintf("(tagid=%d)", db_int(-1,
1262 "SELECT tagid FROM tag WHERE tagname='sym-%q'", zTag));
1263 }
1264
1265 /* Decide pattern prefix and suffix strings according to match style. */
1266 if( matchStyle==MS_LIKE ){
1267 zStart = "(";
1268 zDelimiter = " OR ";
1269 zEnd = ")";
1270

Keyboard Shortcuts

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