summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/tkFont.c2
-rw-r--r--generic/tkGrab.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 0010d12..0b1aeeb 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -909,7 +909,7 @@ RecomputeWidgets(
*
* This could be done recursively or iteratively. The recursive version is
* easier to implement and understand, and typically, windows with a -font
- * option will be leaf nodes in the widget heirarchy (buttons, labels,
+ * option will be leaf nodes in the widget hierarchy (buttons, labels,
* etc.), so the recursion depth will be shallow.
*
* However, the additional overhead of the recursive calls may become a
diff --git a/generic/tkGrab.c b/generic/tkGrab.c
index 24bfd83..b6ffbf3 100644
--- a/generic/tkGrab.c
+++ b/generic/tkGrab.c
@@ -26,7 +26,7 @@
* grab state information: the current grab window, the current restrict
* window, and whether the mouse is captured.
*
- * The current grab window specifies the point in the Tk window heirarchy
+ * The current grab window specifies the point in the Tk window hierarchy
* above which pointer events will not be reported. Any window within the
* subtree below the grab window will continue to receive events as normal.
* Events outside of the grab tree will be reported to the grab window.