diff options
author | dgp@users.sourceforge.net <dgp> | 2002-01-17 05:13:11 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2002-01-17 05:13:11 (GMT) |
commit | 192fc1b045fd06303e1cf33d88f3a3326ab77302 (patch) | |
tree | a64645a35b960e288a19b038e87f81a9248f5709 /generic/tkImgPhoto.c | |
parent | cb16fb4f738320d0a3d992704d2d54b874a48535 (diff) | |
download | tk-192fc1b045fd06303e1cf33d88f3a3326ab77302.zip tk-192fc1b045fd06303e1cf33d88f3a3326ab77302.tar.gz tk-192fc1b045fd06303e1cf33d88f3a3326ab77302.tar.bz2 |
* Updates to handle change in type of tablePtr
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
Diffstat (limited to 'generic/tkImgPhoto.c')
-rw-r--r-- | generic/tkImgPhoto.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c index 59391a7..bfbd254 100644 --- a/generic/tkImgPhoto.c +++ b/generic/tkImgPhoto.c @@ -15,7 +15,7 @@ * Department of Computer Science, * Australian National University. * - * RCS: @(#) $Id: tkImgPhoto.c,v 1.25 2001/12/07 04:17:25 chengyemao Exp $ + * RCS: @(#) $Id: tkImgPhoto.c,v 1.26 2002/01/17 05:13:11 dgp Exp $ */ #include "tkInt.h" @@ -563,7 +563,7 @@ ImgPhotoCmd(clientData, interp, objc, objv) Tcl_Obj *CONST objv[]; /* Argument objects. */ { int oldformat = 0; - static char *photoOptions[] = { + static CONST char *photoOptions[] = { "blank", "cget", "configure", "copy", "data", "get", "put", "read", "redither", "write", (char *) NULL }; |