gnome-terminal r3150 - branches/gnome-2-24/src



Author: chpe
Date: Thu Oct  9 14:00:35 2008
New Revision: 3150
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3150&view=rev

Log:
Fix off-by-one error in the clone command argc

Modified:
   branches/gnome-2-24/src/terminal-app.c

Modified: branches/gnome-2-24/src/terminal-app.c
==============================================================================
--- branches/gnome-2-24/src/terminal-app.c	(original)
+++ branches/gnome-2-24/src/terminal-app.c	Thu Oct  9 14:00:35 2008
@@ -1306,7 +1306,7 @@
   /* final NULL */
   g_ptr_array_add (args, NULL);
 
-  *argcp = args->len;
+  *argcp = args->len - 1;
   *argvp = (char**) g_ptr_array_free (args, FALSE);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]