summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/ttk_treeview.n2
-rw-r--r--generic/ttk/ttkTagSet.c2
-rw-r--r--generic/ttk/ttkTreeview.c4
-rw-r--r--library/ttk/treeview.tcl4
4 files changed, 6 insertions, 6 deletions
diff --git a/doc/ttk_treeview.n b/doc/ttk_treeview.n
index ec3dca9..beb7690 100644
--- a/doc/ttk_treeview.n
+++ b/doc/ttk_treeview.n
@@ -609,7 +609,7 @@ are:
.RS
This is the standard height for an item.
If \fB\-rowheight\fP is not set by the style, it is set by measuring an
-Item and a Cell layout with the style's settings.
+item and a cell layout with the style's settings.
This thus picks up the font and
any focus ring or padding from the theme's layout.
The \fB\-rowheight\fP may need to be set to make sure that a row
diff --git a/generic/ttk/ttkTagSet.c b/generic/ttk/ttkTagSet.c
index 7f3534c..ffab6c9 100644
--- a/generic/ttk/ttkTagSet.c
+++ b/generic/ttk/ttkTagSet.c
@@ -140,7 +140,7 @@ Ttk_TagSet Ttk_GetTagSetFromObj(
}
tagset->tags = (Ttk_Tag *)ckalloc((objc+1) * sizeof(Ttk_Tag));
- for (i = 0; i<objc; ++i) {
+ for (i = 0; i < objc; ++i) {
tagset->tags[i] = Ttk_GetTagFromObj(tagTable, objv[i]);
}
tagset->tags[i] = NULL;
diff --git a/generic/ttk/ttkTreeview.c b/generic/ttk/ttkTreeview.c
index 18c5bfe..412a047 100644
--- a/generic/ttk/ttkTreeview.c
+++ b/generic/ttk/ttkTreeview.c
@@ -467,7 +467,7 @@ typedef struct {
Tcl_Obj *heightObj; /* height (rows) */
Tcl_Obj *paddingObj; /* internal padding */
- TkSizeT nTitleColumns; /* -titlecolumns */
+ TkSizeT nTitleColumns; /* -titlecolumns */
int nTitleItems; /* -titleitems */
int striped; /* -striped option */
@@ -3043,7 +3043,7 @@ static int TreeviewSetCommand(
*/
Tcl_Obj *result = Tcl_NewListObj(0,0);
Tcl_Obj *value;
- for (columnNumber = 0; columnNumber<tv->tree.nColumns; ++columnNumber) {
+ for (columnNumber = 0; columnNumber < tv->tree.nColumns; ++columnNumber) {
Tcl_ListObjIndex(interp, item->valuesObj, columnNumber, &value);
if (value) {
Tcl_ListObjAppendElement(NULL, result,
diff --git a/library/ttk/treeview.tcl b/library/ttk/treeview.tcl
index 0bbcfb4..73b8334 100644
--- a/library/ttk/treeview.tcl
+++ b/library/ttk/treeview.tcl
@@ -21,8 +21,8 @@ namespace eval ttk::treeview {
# For pressmode == "heading"
set State(heading) {}
- set State(cellAnchor) {}
- set State(cellAnchorOp) "set"
+ set State(cellAnchor) {}
+ set State(cellAnchorOp) "set"
}
### Widget bindings.