summaryrefslogtreecommitdiffstats
path: root/win/tkWinSend.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-11 21:58:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-10-11 21:58:15 (GMT)
commitb2a490e00b366529ee01568a6e3eb47fd718d59f (patch)
treea29d52a3dbbbf0de75a893365d283a51a95ad24c /win/tkWinSend.c
parent214d96af007b0c11714f5d497a37405807450a72 (diff)
parente5e9aa998d3fc89826a2546bf137cc70f70aa4ea (diff)
downloadtk-b2a490e00b366529ee01568a6e3eb47fd718d59f.zip
tk-b2a490e00b366529ee01568a6e3eb47fd718d59f.tar.gz
tk-b2a490e00b366529ee01568a6e3eb47fd718d59f.tar.bz2
Merge 8.6. Some C++-fixes
Diffstat (limited to 'win/tkWinSend.c')
-rw-r--r--win/tkWinSend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinSend.c b/win/tkWinSend.c
index a855d22..6989a24 100644
--- a/win/tkWinSend.c
+++ b/win/tkWinSend.c
@@ -328,13 +328,13 @@ Tk_SendObjCmd(
{
enum {
SEND_ASYNC, SEND_DISPLAYOF, SEND_LAST
- } index;
+ };
static const char *const sendOptions[] = {
"-async", "-displayof", "--", NULL
};
const char *stringRep;
int result = TCL_OK;
- int i, async = 0;
+ int i, async = 0, index;
/*
* Process the command options.