diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-03-19 14:56:45 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-03-19 14:56:45 (GMT) |
commit | ede8ac42b20edcdd0e6a0353957890b7d7db59ea (patch) | |
tree | bcfa89065ecea0a374bed505c235b77cba3db0a3 /generic/tclDictObj.c | |
parent | 4333183b6f023a2b67e14f7f6f01b320c7e34f9f (diff) | |
download | tcl-ede8ac42b20edcdd0e6a0353957890b7d7db59ea.zip tcl-ede8ac42b20edcdd0e6a0353957890b7d7db59ea.tar.gz tcl-ede8ac42b20edcdd0e6a0353957890b7d7db59ea.tar.bz2 |
Fix indentation/brace usage style issues
Diffstat (limited to 'generic/tclDictObj.c')
-rw-r--r-- | generic/tclDictObj.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/generic/tclDictObj.c b/generic/tclDictObj.c index 43f003b..8b7bc3d 100644 --- a/generic/tclDictObj.c +++ b/generic/tclDictObj.c @@ -3844,7 +3844,7 @@ DictAsListLength( int literal; if (TCL_OK != TclFindElement(NULL, nextElem, limit - nextElem, - &elemStart, &nextElem, &elemSize, &literal)) { + &elemStart, &nextElem, &elemSize, &literal)) { Tcl_DecrRefCount(elemPtr); return 0; } @@ -3854,14 +3854,14 @@ DictAsListLength( TclInvalidateStringRep(elemPtr); check = Tcl_InitStringRep(elemPtr, literal ? elemStart : NULL, - elemSize); + elemSize); if (elemSize && check == NULL) { Tcl_DecrRefCount(elemPtr); return 0; } if (!literal) { Tcl_InitStringRep(elemPtr, NULL, - TclCopyAndCollapse(elemSize, elemStart, check)); + TclCopyAndCollapse(elemSize, elemStart, check)); } llen++; } @@ -3916,7 +3916,7 @@ DictAsListIndex( int literal; if (TCL_OK != TclFindElement(NULL, nextElem, limit - nextElem, - &elemStart, &nextElem, &elemSize, &literal)) { + &elemStart, &nextElem, &elemSize, &literal)) { Tcl_DecrRefCount(elemPtr); return 0; } @@ -3926,7 +3926,7 @@ DictAsListIndex( TclInvalidateStringRep(elemPtr); check = Tcl_InitStringRep(elemPtr, literal ? elemStart : NULL, - elemSize); + elemSize); if (elemSize && check == NULL) { Tcl_DecrRefCount(elemPtr); if (interp) { @@ -3936,7 +3936,7 @@ DictAsListIndex( } if (!literal) { Tcl_InitStringRep(elemPtr, NULL, - TclCopyAndCollapse(elemSize, elemStart, check)); + TclCopyAndCollapse(elemSize, elemStart, check)); } if (llen == index) { *elemObjPtr = elemPtr; |