~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to decorations_init.c

  • Committer: Matthew Fuller
  • Date: 2016-08-11 10:08:17 UTC
  • mto: This revision was merged to the branch mainline in revision 512.
  • Revision ID: fullermd@over-yonder.net-20160811100817-06pf2ccgic5ykv0a
Brace these 1- (or 0-, depending on how you count) loops while I'm
touching them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
280
280
        }
281
281
        else if(append && rightside) {      /* 3 */
282
282
                TitleButton *t;
283
 
                for(t = Scr->TBInfo.head; t->next; t = t->next)
 
283
                for(t = Scr->TBInfo.head; t->next; t = t->next) {
284
284
                        /* just walking to tail */;
 
285
                }
285
286
                t->next = cur_tb;
286
287
                cur_tb->next = NULL;
287
288
        }