summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-30 15:34:56 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-30 15:34:56 (GMT)
commitdf294fc609bf295816a05e1907d028000f8b7922 (patch)
tree4758c354324c7722e2ff84198d268706ba36c08d /generic
parentbbaec77e7acae48ed03a8b08a5bbd46ee3dd17ec (diff)
downloadtk-df294fc609bf295816a05e1907d028000f8b7922.zip
tk-df294fc609bf295816a05e1907d028000f8b7922.tar.gz
tk-df294fc609bf295816a05e1907d028000f8b7922.tar.bz2
Rename enumermation for somewhat simpler-to-read code. [Bug 1677613]
Diffstat (limited to 'generic')
-rw-r--r--generic/tkImgPhoto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkImgPhoto.c b/generic/tkImgPhoto.c
index 7917c50..88d3603 100644
--- a/generic/tkImgPhoto.c
+++ b/generic/tkImgPhoto.c
@@ -17,7 +17,7 @@
* Department of Computer Science,
* Australian National University.
*
- * RCS: @(#) $Id: tkImgPhoto.c,v 1.73 2007/09/07 00:34:52 dgp Exp $
+ * RCS: @(#) $Id: tkImgPhoto.c,v 1.74 2007/10/30 15:34:57 dkf Exp $
*/
#include "tkInt.h"
@@ -646,7 +646,7 @@ ImgPhotoCmd(
"blank", "cget", "configure", "copy", "data", "get", "put",
"read", "redither", "transparency", "write", NULL
};
- enum options {
+ enum PhotoOptions {
PHOTO_BLANK, PHOTO_CGET, PHOTO_CONFIGURE, PHOTO_COPY, PHOTO_DATA,
PHOTO_GET, PHOTO_PUT, PHOTO_READ, PHOTO_REDITHER, PHOTO_TRANS,
PHOTO_WRITE
@@ -681,7 +681,7 @@ ImgPhotoCmd(
return proc(clientData, interp, objc, objv);
}
- switch ((enum options) index) {
+ switch ((enum PhotoOptions) index) {
case PHOTO_BLANK:
/*
* photo blank command - just call Tk_PhotoBlank.