Fossil SCM

Fix a typo in a variable name that broke the build

danield 2021-07-15 21:43 trunk
Commit f31b5a838bbbf297e9ada6ed5523b223baf7402ae1e77ae58ba3a1e2a2471ebd
1 file changed +1 -1
--- src/json_branch.c
+++ src/json_branch.c
@@ -265,11 +265,11 @@
265265
manifest_destroy(pParent);
266266
267267
/* Add the symbolic branch name and the "branch" tag to identify
268268
** this as a new branch */
269269
if( content_is_private(rootid) ) zOpt->isPrivate = 1;
270
- if( zOpt->isPrivate && zColor==0 && !bColor) zColor = "#fec084";
270
+ if( zOpt->isPrivate && zColor==0 && !bAutoColor) zColor = "#fec084";
271271
if( zColor!=0 ){
272272
blob_appendf(&branch, "T *bgcolor * %F\n", zColor);
273273
}
274274
blob_appendf(&branch, "T *branch * %F\n", zBranch);
275275
blob_appendf(&branch, "T *sym-%F *\n", zBranch);
276276
--- src/json_branch.c
+++ src/json_branch.c
@@ -265,11 +265,11 @@
265 manifest_destroy(pParent);
266
267 /* Add the symbolic branch name and the "branch" tag to identify
268 ** this as a new branch */
269 if( content_is_private(rootid) ) zOpt->isPrivate = 1;
270 if( zOpt->isPrivate && zColor==0 && !bColor) zColor = "#fec084";
271 if( zColor!=0 ){
272 blob_appendf(&branch, "T *bgcolor * %F\n", zColor);
273 }
274 blob_appendf(&branch, "T *branch * %F\n", zBranch);
275 blob_appendf(&branch, "T *sym-%F *\n", zBranch);
276
--- src/json_branch.c
+++ src/json_branch.c
@@ -265,11 +265,11 @@
265 manifest_destroy(pParent);
266
267 /* Add the symbolic branch name and the "branch" tag to identify
268 ** this as a new branch */
269 if( content_is_private(rootid) ) zOpt->isPrivate = 1;
270 if( zOpt->isPrivate && zColor==0 && !bAutoColor) zColor = "#fec084";
271 if( zColor!=0 ){
272 blob_appendf(&branch, "T *bgcolor * %F\n", zColor);
273 }
274 blob_appendf(&branch, "T *branch * %F\n", zBranch);
275 blob_appendf(&branch, "T *sym-%F *\n", zBranch);
276

Keyboard Shortcuts

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