summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2016-04-03 16:14:15 +0100
committerEric Engestrom <eric@engestrom.ch>2016-04-03 16:14:15 +0100
commit3c87d939aa303cb83c85a27ce56884f6eee2862c (patch)
treec3a4643fd1a33b4653a82ac70736eaa2da061fa3
parentb7d75429677eecc00c3701aaa4deac1304bc51ff (diff)
Fix spelling mistakes
-rw-r--r--README.md2
-rw-r--r--include/compiler.h2
-rw-r--r--src/generate/genCommon.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 5ae7168..27d4d52 100644
--- a/README.md
+++ b/README.md
@@ -245,7 +245,7 @@ Issues
(GLXContext and GLXFBConfig) in one table, and all XID types (GLXDrawable,
GLXPixmap, GLXWindow, and GLXPbuffer) in another table. Should there instead
be more finer-grained hash tables? There probably couldn't be finer-grained
- tables for XIDs, because GLXDrawable is used interchangably with the other
+ tables for XIDs, because GLXDrawable is used interchangeably with the other
XID-based types.
* The issue above applies to XIDs in the x11glvnd extension as well: we
diff --git a/include/compiler.h b/include/compiler.h
index 5f5031d..8c8ea36 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -319,7 +319,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
*/
#if defined(__GNUC__) && defined(__i386__)
/*
- * Set the x86 FPU control word to guarentee only 32 bits of precision
+ * Set the x86 FPU control word to guarantee only 32 bits of precision
* are stored in registers. Allowing the FPU to store more introduces
* differences between situations where numbers are pulled out of memory
* vs. situations where the compiler is able to optimize register usage.
diff --git a/src/generate/genCommon.py b/src/generate/genCommon.py
index f2aa4d7..495cbf8 100644
--- a/src/generate/genCommon.py
+++ b/src/generate/genCommon.py
@@ -188,7 +188,7 @@ def _flattenText(elem):
def _fixupTypeName(typeName):
"""
- Converts a typename into a more consistant format.
+ Converts a typename into a more consistent format.
"""
rv = typeName.strip()