diff options
author | nijtmans <nijtmans> | 2010-02-13 13:47:49 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-02-13 13:47:49 (GMT) |
commit | 759424b1be09259bf20d269efd93af21c5150a01 (patch) | |
tree | d5a35b36ffd02f3cb0421a640eda7ee6ee229478 /generic/tkObj.c | |
parent | 454e04bbf4e61fb4a363ffcfedb08e941a17952f (diff) | |
download | tk-759424b1be09259bf20d269efd93af21c5150a01.zip tk-759424b1be09259bf20d269efd93af21c5150a01.tar.gz tk-759424b1be09259bf20d269efd93af21c5150a01.tar.bz2 |
use -pipe for gcc on win32 (mingw/cygwin)
make sure that TkpCmapStressed is exported
clean up unused Tk_CreatePhotoOption
Make more internal arrays "const"
Diffstat (limited to 'generic/tkObj.c')
-rw-r--r-- | generic/tkObj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkObj.c b/generic/tkObj.c index e78d7d2..d51b28f 100644 --- a/generic/tkObj.c +++ b/generic/tkObj.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkObj.c,v 1.27 2009/12/15 18:12:07 dgp Exp $ + * RCS: @(#) $Id: tkObj.c,v 1.28 2010/02/13 13:47:49 nijtmans Exp $ */ #include "tkInt.h" @@ -155,7 +155,7 @@ GetPixelsFromObjEx( int result,fresh; double d; PixelRep *pixelPtr; - static double bias[] = { + static const double bias[] = { 1.0, 10.0, 25.4, 0.35278 /*25.4 / 72.0*/ }; @@ -482,7 +482,7 @@ Tk_GetMMFromObj( int result; double d; MMRep *mmPtr; - static double bias[] = { + static const double bias[] = { 10.0, 25.4, 1.0, 0.35278 /*25.4 / 72.0*/ }; |