Difference for crossedit/App.c from version 1.7 to 1.8


version 1.7 version 1.8
Line 838
 
Line 838
  FontSize=24;   FontSize=24;
     CnvInitialize(self->shell);      CnvInitialize(self->shell);
   
     if (ReadImages(self->display, &pixmaps, &masks, &colormap, displaymode)) {  
      /* We really should do something better than this */  
      fprintf(stderr,"Not enough space in colormap - switch colormap.\n");  
 /*     exit(1);*/  
     }  
     XtVaSetValues(self->shell, XtNcolormap, colormap, NULL);  
   
     /*** creating ***/      /*** creating ***/
     sprintf(path,"%s/%s",settings.datadir,settings.mapdir);      sprintf(path,"%s/%s",settings.datadir,settings.mapdir);
Line 852
 
Line 846
     Layout(self);      Layout(self);
     XtRealizeWidget (self->shell);      XtRealizeWidget (self->shell);
     XtRealizeWidget(self->clip->shell);      XtRealizeWidget(self->clip->shell);
       /* I move this down here because I want all the widgets to get their
        * colors before the images hog all of them.
        */
       if (ReadImages(self->display, &pixmaps, &masks, &colormap, displaymode)) {
        /* We really should do something better than this */
        fprintf(stderr,"Not enough space in colormap - switch colormap.\n");
   /*     exit(1);*/
       }
       XtVaSetValues(self->shell, XtNcolormap, colormap, NULL);
     AppUpdate(self);      AppUpdate(self);
     return self;      return self;
 }  }


Legend:
line(s) removed in v.1.7 
line(s) changed
 line(s) added in v.1.8

File made using version 1.98 of cvs2html by leaf at 2011-07-21 19:48