summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2023-09-28 13:42:55 (GMT)
committerKevin Walzer <kw@codebykevin.com>2023-09-28 13:42:55 (GMT)
commit99febf3ef4a516d359004765aaebd4d094d81ba8 (patch)
tree38195ab3de567d5be115d2c6fa2f9ed19f22311e /macosx
parent3ea6647dbb8fe93bac340fafa6810862ec9c8c18 (diff)
downloadtk-99febf3ef4a516d359004765aaebd4d094d81ba8.zip
tk-99febf3ef4a516d359004765aaebd4d094d81ba8.tar.gz
tk-99febf3ef4a516d359004765aaebd4d094d81ba8.tar.bz2
Correct comment on coordinate position
Diffstat (limited to 'macosx')
-rw-r--r--macosx/tkMacOSXImage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXImage.c b/macosx/tkMacOSXImage.c
index b0c199c..2338e38 100644
--- a/macosx/tkMacOSXImage.c
+++ b/macosx/tkMacOSXImage.c
@@ -682,8 +682,8 @@ CreateCGImageFromDrawableRect(
* Returns a CFDataRef that can be written to a file.
*
* NOTE: The x,y coordinates should be relative to a coordinate system
- * with origin at the top left, as used by XImage and CGImage, not bottom
- * left as used by NSView.
+ * with origin at the bottom left as used by NSView, not top left
+ * as used by XImage and CGImage.
*
* Side effects:
* None