summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXBitmap.c
diff options
context:
space:
mode:
authorculler <culler>2020-08-21 16:26:16 (GMT)
committerculler <culler>2020-08-21 16:26:16 (GMT)
commit7e85fa97e34d903e8b4599127e14838a49856360 (patch)
tree53965d7fc969b8a389828c9dbbbc5b0152bd9346 /macosx/tkMacOSXBitmap.c
parentacea84f433c2b5120598536b28215c84c4a74f31 (diff)
downloadtk-7e85fa97e34d903e8b4599127e14838a49856360.zip
tk-7e85fa97e34d903e8b4599127e14838a49856360.tar.gz
tk-7e85fa97e34d903e8b4599127e14838a49856360.tar.bz2
Edit comments, make some stylistic changes, remove an unused function parameter.
Diffstat (limited to 'macosx/tkMacOSXBitmap.c')
-rw-r--r--macosx/tkMacOSXBitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXBitmap.c b/macosx/tkMacOSXBitmap.c
index c1b325a..213d925 100644
--- a/macosx/tkMacOSXBitmap.c
+++ b/macosx/tkMacOSXBitmap.c
@@ -136,7 +136,7 @@ PixmapFromImage(
Pixmap pixmap;
pixmap = Tk_GetPixmap(display, None, size.width, size.height, 0);
- if (TkMacOSXSetupDrawingContext(pixmap, NULL, 1, &dc)) {
+ if (TkMacOSXSetupDrawingContext(pixmap, NULL, &dc)) {
if (dc.context) {
CGAffineTransform t = { .a = 1, .b = 0, .c = 0, .d = -1,
.tx = 0, .ty = size.height};