summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkFont.c2
-rw-r--r--generic/tkGrab.c2
-rw-r--r--win/tkWinWm.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkFont.c b/generic/tkFont.c
index 71008bc..8138c34 100644
--- a/generic/tkFont.c
+++ b/generic/tkFont.c
@@ -908,7 +908,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 787a2e2..2232ba5 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.
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 80bdc75..f27a965 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -7978,7 +7978,7 @@ WmProc(
winPtr = GetTopLevel(hwnd);
if (winPtr && (TkGrabState(winPtr) == TK_GRAB_EXCLUDED)) {
/*
- * This window is outside the grab heirarchy, so don't let any of
+ * This window is outside the grab hierarchy, so don't let any of
* the normal non-client processing occur. Note that this
* implementation is not strictly correct because the grab might
* change between now and when the event would have been processed