summaryrefslogtreecommitdiff
path: root/src/TMaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/TMaction.c')
-rw-r--r--src/TMaction.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TMaction.c b/src/TMaction.c
index 5e843b5..accd20c 100644
--- a/src/TMaction.c
+++ b/src/TMaction.c
@@ -574,7 +574,6 @@ void
_XtBindActions(Widget widget, XtTM tm)
{
XtTranslations xlations = tm->translations;
- TMSimpleStateTree stateTree;
int globalUnbound = 0;
Cardinal i;
TMBindData bindData = (TMBindData) tm->proc_table;
@@ -587,6 +586,8 @@ _XtBindActions(Widget widget, XtTM tm)
return;
for (i = 0; i < xlations->numStateTrees; i++) {
+ TMSimpleStateTree stateTree;
+
stateTree = (TMSimpleStateTree) xlations->stateTreeTbl[i];
if (bindData->simple.isComplex) {
complexBindProcs = TMGetComplexBindEntry(bindData, i);