summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjenglish <jenglish@flightlab.com>2003-10-14 23:11:02 (GMT)
committerjenglish <jenglish@flightlab.com>2003-10-14 23:11:02 (GMT)
commit354cb2f6a16e65c941bfd27988f05cf585b354c9 (patch)
tree6a6458e61d9a979afaaf40198b43741d7f74affb
parent5b740713ea7006e048a102632dd88c78652b1cf2 (diff)
downloadtk-354cb2f6a16e65c941bfd27988f05cf585b354c9.zip
tk-354cb2f6a16e65c941bfd27988f05cf585b354c9.tar.gz
tk-354cb2f6a16e65c941bfd27988f05cf585b354c9.tar.bz2
changed macro argument names to match function argument names
('dest' and 'src' were swapped, which was confusing) [GPS]
-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