diff --git a/README.md b/README.md
index e4a9b0d9ab7b5cf66b4f7bfaa04bfd08cf84b2a8..7e77e02caafae5286455bfb2b4eb2596a45ec3e9 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ Xorg mailing list:
 
   https://lists.x.org/mailman/listinfo/xorg
 
-The master development code repository can be found at:
+The primary development code repository can be found at:
 
   https://gitlab.freedesktop.org/xorg/lib/libXt
 
diff --git a/src/Intrinsic.c b/src/Intrinsic.c
index ede8e6f3e14f5a14d0b31c05f78291022df34268..71a1b99a3651bd8585f8bd1cef84bd2836a651f3 100644
--- a/src/Intrinsic.c
+++ b/src/Intrinsic.c
@@ -1345,7 +1345,7 @@ FillInLangSubs(Substitution subs, XtPerDisplay pd)
 
 /*
  * default path used if environment variable XFILESEARCHPATH
- * is not defined.  Also substitued for %D.
+ * is not defined.  Also substituted for %D.
  * The exact value should be documented in the implementation
  * notes for any Xt implementation.
  */
diff --git a/src/ResConfig.c b/src/ResConfig.c
index f73a358c199efb88ce5031c7aaf864b4d92163a2..c12fed5209edb2e4cadbc94056a8988e05aed550 100644
--- a/src/ResConfig.c
+++ b/src/ResConfig.c
@@ -288,7 +288,7 @@ _set_resource_values(Widget w, char *resource, char *value, char *last_part)
  *      remainder       the part of the resource string left over
  *      resource        the resource string to be matched
  *      value           the value to be set
- *      last_token      the last * or . before the final resoruce part
+ *      last_token      the last * or . before the final resource part
  *      last_part       the last resource part (e.g. *background)
  *
  * RETURN VALUES: void
@@ -347,7 +347,7 @@ _apply_values_to_children(Widget w,
  *      remainder       the remaining part of the resource string
  *      resource        the resource string to be matched
  *      value           the value to be applied
- *      last_token      the last * or . before the final resoruce part
+ *      last_token      the last * or . before the final resource part
  *      last_part       the last resource part (e.g. *background)
  *
  * RETURN VALUES: none
@@ -483,7 +483,7 @@ _match_resource_to_widget(Widget w, char *part)
  *      remainder       the part of the resource string left over
  *      resource        the resource string to be matched
  *      value           the value to be set
- *      last_token      the last * or . before the final resoruce part
+ *      last_token      the last * or . before the final resource part
  *      last_part       the last resource part (e.g. *background)
  *
  * RETURN VALUES: none