summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-28 14:20:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-10-28 14:20:10 (GMT)
commit561fe24459c6d4f750c4ebe2a138aa563b1fb58c (patch)
treee673960f89c60cf441d8f7ccf2a0f29dcebfad18 /generic
parent7cd7731a93610c00e44c811f86b7afd62e83b82e (diff)
downloadtk-561fe24459c6d4f750c4ebe2a138aa563b1fb58c.zip
tk-561fe24459c6d4f750c4ebe2a138aa563b1fb58c.tar.gz
tk-561fe24459c6d4f750c4ebe2a138aa563b1fb58c.tar.bz2
Fix some C++ comments in ttkWinXPTheme.c (needed for MSVC++ 6.0)
Fix some typing errors in code comments. Some eol-spacing elimination
Diffstat (limited to 'generic')
-rw-r--r--generic/tkCanvUtil.c2
-rw-r--r--generic/tkImgPhoto.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkCanvUtil.c b/generic/tkCanvUtil.c
index bbf8bea..420e11a 100644
--- a/generic/tkCanvUtil.c
+++ b/generic/tkCanvUtil.c
@@ -757,7 +757,7 @@ TkSmoothParseProc(
}
/*
- * Backward compatability hack.
+ * Backward compatibility hack.
*/
if (strncmp(value, "bezier", length) == 0) {
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index ffe4a3f..aaea896 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -6069,7 +6069,7 @@ ImgPhotoPostscript(
*
* Tk_PhotoPutBlock_NoComposite, Tk_PhotoPutZoomedBlock_NoComposite --
*
- * These backward-compatability functions just exist to fill slots in stubs
+ * These backward-compatibility functions just exist to fill slots in stubs
* table. For the behaviour of *_NoComposite, refer to the corresponding
* function without the extra suffix, except that the compositing rule is
* always "overlay" and the function always panics on memory-allocation
@@ -6110,7 +6110,7 @@ Tk_PhotoPutZoomedBlock_NoComposite(
* Tk_PhotoExpand_Panic, Tk_PhotoPutBlock_Panic,
* Tk_PhotoPutZoomedBlock_Panic, Tk_PhotoSetSize_Panic
*
- * Backward compatability functions for preserving the old behaviour (i.e.
+ * Backward compatibility functions for preserving the old behaviour (i.e.
* panic on memory allocation failure) so that extensions do not need to be
* significantly updated to take account of TIP #116. These call the new
* interface (i.e. the interface without the extra suffix), but panic if an