git-svn-id: http://ltt.polymtl.ca/svn@154 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 1 Aug 2003 12:12:27 +0000 (12:12 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Fri, 1 Aug 2003 12:12:27 +0000 (12:12 +0000)
ltt/branches/poly/lttv/option.c

index c5046ef861a2100dd10d115373e0cec20ea58efa..b7e4270a049c2dcd87297edeba254ca63811218e 100644 (file)
@@ -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)
This page took 0.023605 seconds and 4 git commands to generate.