diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-17 05:13:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-17 05:13:11 (GMT) |
commit | e18b826ed756e177fc0e6f96fed210bf26bcb8b7 (patch) | |
tree | a64645a35b960e288a19b038e87f81a9248f5709 /generic/tkImgPhoto.c | |
parent | e2d6df79c697064b173e14f29a157733ad3a9a6f (diff) | |
download | tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.zip tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.tar.gz tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.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 }; |