gnome-terminal r2756 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2756 - trunk/src
- Date: Thu, 29 May 2008 19:51:18 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:51:17 2008
New Revision: 2756
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2756&view=rev
Log:
Start at 0.
Modified:
trunk/src/terminal-profile.c
Modified: trunk/src/terminal-profile.c
==============================================================================
--- trunk/src/terminal-profile.c (original)
+++ trunk/src/terminal-profile.c Thu May 29 19:51:17 2008
@@ -1372,7 +1372,7 @@
profile_num = 0;
do
{
- g_snprintf (profile_name, sizeof (profile_name), "Profile%u", ++profile_num);
+ g_snprintf (profile_name, sizeof (profile_name), "Profile%u", profile_num++);
}
while (terminal_app_get_profile_by_name (app, profile_name) != NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]