From 8a352960fb9b050f846d1497f562bfc5352b5115 Mon Sep 17 00:00:00 2001 From: Vladimir Volovich Date: Sun, 13 Jul 2008 01:21:34 +0000 Subject: portability fix - avoid variable declaration after statement git-svn-id: svn://tug.org/texlive/trunk@9498 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/xdvik/events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Build/source/texk/xdvik/events.c') diff --git a/Build/source/texk/xdvik/events.c b/Build/source/texk/xdvik/events.c index 77776de5699..1a5024953cd 100644 --- a/Build/source/texk/xdvik/events.c +++ b/Build/source/texk/xdvik/events.c @@ -2362,9 +2362,9 @@ Act_mouse_modes(Widget w, XEvent *event, my_action = compile_action(params[mode_idx]); for (i = 0, ap = my_action; ap; ap = ap->next, i++) { + String args[1]; TRACE_EVENTS((stderr, "Action %d for mode %d: '%s', %d args |%s| maps to proc |%p|", i, mode_idx, ap->command, ap->num_params, ap->param, ap->proc)); - String args[1]; args[0] = ap->param; /* now call the action proc directly */ -- cgit v1.2.3