gnome-terminal r3150 - branches/gnome-2-24/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r3150 - branches/gnome-2-24/src
- Date: Thu, 9 Oct 2008 14:00:35 +0000 (UTC)
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]