diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/xdvik/ChangeLog.TL | 6 | ||||
-rw-r--r-- | Build/source/texk/xdvik/events.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/xdvik/ChangeLog.TL b/Build/source/texk/xdvik/ChangeLog.TL index 724670dcd4e..d2e267af8b0 100644 --- a/Build/source/texk/xdvik/ChangeLog.TL +++ b/Build/source/texk/xdvik/ChangeLog.TL @@ -1,6 +1,12 @@ ChangeLog.TL: Changes for xdvik (TeX Live) ================================================== +2009-06-03 Peter Breitenlohner <peb@mppmu.mpg.de> + + * events.c: avoid declaration after statement. + + from Vladimir Volovich <vvv@vsu.ru>. + 2009-05-21 Peter Breitenlohner <peb@mppmu.mpg.de> * CHANGES: fixed version/relase-date such that mksedscript can diff --git a/Build/source/texk/xdvik/events.c b/Build/source/texk/xdvik/events.c index ee7ae16779b..b940f60e6ee 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 %lu: '%s', %d args |%s| maps to proc |%p|", i, (unsigned long)mode_idx, ap->command, ap->num_params, ap->param, ap->proc)); - String args[1]; args[0] = ap->param; /* now call the action proc directly */ |