~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to colormaps.c

  • Committer: Matthew Fuller
  • Date: 2016-08-31 19:16:40 UTC
  • mto: This revision was merged to the branch mainline in revision 520.
  • Revision ID: fullermd@over-yonder.net-20160831191640-47mdo8cht42p74q4
makeĀ indent

Show diffs side-by-side

added added

removed removed

Lines of Context:
484
484
                cwins = calloc(tmp->cmaps.number_cwins, sizeof(ColormapWindow *));
485
485
                if(cwins) {
486
486
                        previously_installed = (Scr->cmapInfo.cmaps == &tmp->cmaps &&
487
 
                                                    tmp->cmaps.number_cwins);
 
487
                                                tmp->cmaps.number_cwins);
488
488
                        if(previously_installed) {
489
489
                                for(i = tmp->cmaps.number_cwins; i-- > 0;) {
490
490
                                        tmp->cmaps.cwins[i]->colormap->state = 0;