summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-10 21:10:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-10 21:10:20 (GMT)
commitf6715923b8e582240ab916b3a1432af4cc1ecc56 (patch)
tree4617af91a260fbcc070645aac13b188a945e2515 /win
parent6b3ace837fc82f4c7474d30636b0b7ecf8aa4e44 (diff)
downloadtk-f6715923b8e582240ab916b3a1432af4cc1ecc56.zip
tk-f6715923b8e582240ab916b3a1432af4cc1ecc56.tar.gz
tk-f6715923b8e582240ab916b3a1432af4cc1ecc56.tar.bz2
Fix [006403a25d]: various comment/documentation fixes
Diffstat (limited to 'win')
-rw-r--r--win/tkWinDialog.c4
-rw-r--r--win/tkWinWm.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 176ba88..da13e48 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1900,7 +1900,7 @@ GetFileName(
*
* OFNHookProc --
*
- * Dialog box hook function. This is used to sets the "tk_dialog"
+ * Dialog box hook function. This is used to set the "tk_dialog"
* variable for test/debugging when the dialog is ready to receive
* messages. When multiple file selection is enabled this function
* is used to process the list of names.
@@ -2779,7 +2779,7 @@ ChooseDirectoryValidateProc(
* See user documentation.
*
* Side effects:
- * None. The MessageBox window will be destroy before this function
+ * None. The MessageBox window will be destroyed before this function
* returns.
*
*----------------------------------------------------------------------
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 9495f7d..80bdc75 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -131,7 +131,7 @@ typedef struct {
} ICONDIR, *LPICONDIR;
/*
- * A pointer to one of these strucutures is associated with each toplevel.
+ * A pointer to one of these structures is associated with each toplevel.
* This allows us to free up all memory associated with icon resources when a
* window is deleted or if the window's icon is changed. They are simply
* reference counted according to: