summaryrefslogtreecommitdiffstats
path: root/generic/tclDictObj.c
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-03-19 14:56:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-03-19 14:56:45 (GMT)
commit16b3adf662893e6db67e82fb1df01063e1315548 (patch)
treebcfa89065ecea0a374bed505c235b77cba3db0a3 /generic/tclDictObj.c
parent7bf9d79d60378e206b741af48b8cf6c55451557e (diff)
downloadtcl-16b3adf662893e6db67e82fb1df01063e1315548.zip
tcl-16b3adf662893e6db67e82fb1df01063e1315548.tar.gz
tcl-16b3adf662893e6db67e82fb1df01063e1315548.tar.bz2
Fix indentation/brace usage style issues
Diffstat (limited to 'generic/tclDictObj.c')
-rw-r--r--generic/tclDictObj.c12
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;