Fossil SCM

json API: removed reference to recently-removed DIFF_CONTEXT_MASK.

stephan 2021-09-07 21:12 trunk
Commit 0c496d8ad35a8a87f6b707dcea19fe5f781d223139972601c07159a7a4585c0f
1 file changed +1 -2
+1 -2
--- src/json_diff.c
+++ src/json_diff.c
@@ -41,12 +41,11 @@
4141
int toid;
4242
int outLen;
4343
DiffConfig DCfg;
4444
Blob from = empty_blob, to = empty_blob, out = empty_blob;
4545
cson_value * rc = NULL;
46
- int flags = (DIFF_CONTEXT_MASK & nContext)
47
- | (fSbs ? DIFF_SIDEBYSIDE : 0)
46
+ int flags = (fSbs ? DIFF_SIDEBYSIDE : 0)
4847
| (fHtml ? DIFF_HTML : 0);
4948
fromid = name_to_typed_rid(zFrom, "*");
5049
if(fromid<=0){
5150
json_set_err(FSL_JSON_E_UNRESOLVED_UUID,
5251
"Could not resolve 'from' ID.");
5352
--- src/json_diff.c
+++ src/json_diff.c
@@ -41,12 +41,11 @@
41 int toid;
42 int outLen;
43 DiffConfig DCfg;
44 Blob from = empty_blob, to = empty_blob, out = empty_blob;
45 cson_value * rc = NULL;
46 int flags = (DIFF_CONTEXT_MASK & nContext)
47 | (fSbs ? DIFF_SIDEBYSIDE : 0)
48 | (fHtml ? DIFF_HTML : 0);
49 fromid = name_to_typed_rid(zFrom, "*");
50 if(fromid<=0){
51 json_set_err(FSL_JSON_E_UNRESOLVED_UUID,
52 "Could not resolve 'from' ID.");
53
--- src/json_diff.c
+++ src/json_diff.c
@@ -41,12 +41,11 @@
41 int toid;
42 int outLen;
43 DiffConfig DCfg;
44 Blob from = empty_blob, to = empty_blob, out = empty_blob;
45 cson_value * rc = NULL;
46 int flags = (fSbs ? DIFF_SIDEBYSIDE : 0)
 
47 | (fHtml ? DIFF_HTML : 0);
48 fromid = name_to_typed_rid(zFrom, "*");
49 if(fromid<=0){
50 json_set_err(FSL_JSON_E_UNRESOLVED_UUID,
51 "Could not resolve 'from' ID.");
52

Keyboard Shortcuts

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