summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPNG.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-05 22:45:03 (GMT)
committernijtmans <nijtmans>2010-02-05 22:45:03 (GMT)
commit454e04bbf4e61fb4a363ffcfedb08e941a17952f (patch)
tree13a98d3f366ae4c7f4dac0f3935a609ea5797c2f /generic/tkImgPNG.c
parentcece90e032954ae35ffb33120b3a0a01cd226b25 (diff)
downloadtk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.zip
tk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.tar.gz
tk-454e04bbf4e61fb4a363ffcfedb08e941a17952f.tar.bz2
Make more internal tables "const"
tk*Decls.h (regenerated with new genStubs.tcl from Tcl)
Diffstat (limited to 'generic/tkImgPNG.c')
-rw-r--r--generic/tkImgPNG.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkImgPNG.c b/generic/tkImgPNG.c
index f00c9dd..0468ca9 100644
--- a/generic/tkImgPNG.c
+++ b/generic/tkImgPNG.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkImgPNG.c,v 1.4 2010/01/18 20:43:38 nijtmans Exp $
+ * RCS: @(#) $Id: tkImgPNG.c,v 1.5 2010/02/05 22:45:03 nijtmans Exp $
*/
#include "tkInt.h"
@@ -2212,7 +2212,7 @@ ParseFormat(
{
Tcl_Obj **objv = NULL;
int objc = 0;
- static const char *fmtOptions[] = {
+ static const char *const fmtOptions[] = {
"png", "-alpha", NULL
};
enum fmtOptions {