Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv26962

Modified Files:
        cmd-choose-session.c 
Log Message:
Sync OpenBSD patchset 800:

Don't nuke the index counter when a session group comes up.


Index: cmd-choose-session.c
===================================================================
RCS file: /cvsroot/tmux/tmux/cmd-choose-session.c,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- cmd-choose-session.c        14 Nov 2009 17:56:39 -0000      1.15
+++ cmd-choose-session.c        22 Dec 2010 15:25:07 -0000      1.16
@@ -55,7 +55,7 @@
        struct winlink                  *wl;
        struct session                  *s;
        struct session_group            *sg;
-       u_int                            i, idx, cur;
+       u_int                            i, idx, sgidx, cur;
        char                             tmp[64];
 
        if (ctx->curclient == NULL) {
@@ -82,8 +82,8 @@
                if (sg == NULL)
                        *tmp = '\0';
                else {
-                       idx = session_group_index(sg);
-                       xsnprintf(tmp, sizeof tmp, " (group %u)", idx);
+                       sgidx = session_group_index(sg);
+                       xsnprintf(tmp, sizeof tmp, " (group %u)", sgidx);
                }
 
                window_choose_add(wl->window->active, i,


------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs

Reply via email to