cleanup(): fix for loop bounds - tabbed - tab interface for application supporting Xembed
 (HTM) git clone git://git.suckless.org/tabbed
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit e65146d2918e0072fc09b3dfb06785e170787164
 (DIR) parent d6e4aafdf7da4e1a4cf15510b7d94bb8e8553c6a
 (HTM) Author: Ivan Vetrov <vetrov.iv5@gmail.com>
       Date:   Wed,  5 Nov 2025 08:28:42 +0300
       
       cleanup(): fix for loop bounds
       
       Diffstat:
         M tabbed.c                            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/tabbed.c b/tabbed.c
       @@ -214,7 +214,7 @@ cleanup(void)
        {
                int i;
        
       -        for (i = 0; i < nclients; i++) {
       +        for (i = nclients - 1; i >= 0; i--) {
                        focus(i);
                        killclient(NULL);
                        XReparentWindow(dpy, clients[i]->win, root, 0, 0);