gnome-terminal r3151 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r3151 - trunk/src
- Date: Thu, 9 Oct 2008 14:00:42 +0000 (UTC)
Author: chpe
Date: Thu Oct 9 14:00:42 2008
New Revision: 3151
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=3151&view=rev
Log:
Fix off-by-one error in the clone command argc
Modified:
trunk/src/terminal-app.c
Modified: trunk/src/terminal-app.c
==============================================================================
--- trunk/src/terminal-app.c (original)
+++ trunk/src/terminal-app.c Thu Oct 9 14:00:42 2008
@@ -1367,7 +1367,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]