gnome-terminal r2756 - trunk/src



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]