~ctwm/ctwm/trunk

« back to all changes in this revision

Viewing changes to icons.c

  • Committer: Matthew Fuller
  • Date: 2016-06-10 11:49:43 UTC
  • mto: This revision was merged to the branch mainline in revision 495.
  • Revision ID: fullermd@over-yonder.net-20160610114943-pv9au9ojwdq4eq32
Mechanical replacement of inline "(sometype *)0" constructs with NULL,
like pointers should be.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
        else {
237
237
                *final_x = def_x;
238
238
                *final_y = def_y;
239
 
                tmp_win->icon->ir = (IconRegion *)0;
 
239
                tmp_win->icon->ir = NULL;
240
240
                return;
241
241
        }
242
242
        if(Scr->ShrinkIconTitles && tmp_win->icon->has_title) {
533
533
 
534
534
        icon->match   = match_none;
535
535
        icon->image   = None;
536
 
        icon->ir      = (IconRegion *) 0;
 
536
        icon->ir      = NULL;
537
537
 
538
538
        tmp_win->forced = false;
539
539
        icon->w_not_ours = FALSE;