summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--unix/tkUnixPort.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index d0d0fb6..308b273 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-14 Joe English <jenglish@users.sourceforge.net>
+ * unix/tkUnixPort.h(TkPutImage): changed macro argument names
+ to match function argument names ('dest' and 'src' were
+ swapped, which was confusing) [GPS]
+
2003-10-14 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/makefile.vc: Applied patches from tcl bug #801467 from
diff --git a/unix/tkUnixPort.h b/unix/tkUnixPort.h
index dbde1f2..d65f7f2 100644
--- a/unix/tkUnixPort.h
+++ b/unix/tkUnixPort.h
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkUnixPort.h,v 1.8 2002/06/14 13:35:49 dkf Exp $
+ * RCS: @(#) $Id: tkUnixPort.h,v 1.9 2003/10/14 23:11:03 jenglish Exp $
*/
#ifndef _UNIXPORT
@@ -155,9 +155,9 @@ extern int errno;
* needed for X.
*/
-#define TkPutImage(colors, ncolors, display, pixels, gc, image, destx, desty, srcx, srcy, width, height) \
- XPutImage(display, pixels, gc, image, destx, desty, srcx, \
- srcy, width, height);
+#define TkPutImage(colors, ncolors, display, pixels, gc, image, srcx, srcy, destx, desty, width, height) \
+ XPutImage(display, pixels, gc, image, srcx, srcy, destx, \
+ desty, width, height);
/*
* Supply macros for seek offsets, if they're not already provided by