From 4fa246be8dad05a2d2ea7c13a0f0c63e6641b4f9 Mon Sep 17 00:00:00 2001 From: yangxx Date: Fri, 1 Aug 2003 12:12:27 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@154 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/option.c b/ltt/branches/poly/lttv/option.c index c5046ef8..b7e4270a 100644 --- a/ltt/branches/poly/lttv/option.c +++ b/ltt/branches/poly/lttv/option.c @@ -159,7 +159,7 @@ void lttv_options_command_parse(void *hook_data, void *call_data) c = poptGetContext("lttv", command_argc, (const char**)command_argv, (struct poptOption *)lttv_options_command_popt->data,0); g_array_remove_index(lttv_options_command_popt, - lttv_options_command_popt->len); + lttv_options_command_popt->len -1); /* Cut out the already parsed elements */ if(lastrc != -1) -- 2.34.1