home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 2 / 2069 / Patch01 < prev   
Encoding:
Text File  |  1990-12-28  |  2.6 KB  |  91 lines

  1. Xkal - Patch01 - George Ferguson (ferguson@cs.rochester.edu)
  2.  
  3. This patch fixes the following bug(s):
  4. Imakefile:    - use LOCAL_LIBRARIES rather than EXTRA_LIBRARIES
  5. day.c:        - args[0] passed to XtSetValues() rather than args
  6.  
  7. *** Imakefile.old    Thu Nov 15 11:47:52 1990
  8. --- Imakefile    Thu Nov 15 11:48:15 1990
  9. ***************
  10. *** 20,26 ****
  11.   /**/#
  12.   EZMENU_DIR =        /u/ferguson/src/x/EzMenu
  13.   INCLUDES +=        -I$(EZMENU_DIR)
  14. ! EXTRA_LIBRARIES +=    -L$(EZMENU_DIR) -lezMenu$(TARGET_MACH)
  15.   
  16.   /**/#
  17.   /**/# where is the app-defaults to C converter?
  18. --- 20,26 ----
  19.   /**/#
  20.   EZMENU_DIR =        /u/ferguson/src/x/EzMenu
  21.   INCLUDES +=        -I$(EZMENU_DIR)
  22. ! LOCAL_LIBRARIES +=    -L$(EZMENU_DIR) -lezMenu$(TARGET_MACH)
  23.   
  24.   /**/#
  25.   /**/# where is the app-defaults to C converter?
  26. ***************
  27. *** 31,37 ****
  28.   /**/# Nothing to change below here (except maybe CDEBUGFLAGS).
  29.   /**/#
  30.   DEPLIBS =        XawClientDepLibs
  31. ! LOCAL_LIBRARIES =    XawClientLibs
  32.   CDEBUGFLAGS =         -g
  33.   
  34.   SRCS = xkal.c month.c day.c schedule.c db.c util.c date-strings.c
  35. --- 31,37 ----
  36.   /**/# Nothing to change below here (except maybe CDEBUGFLAGS).
  37.   /**/#
  38.   DEPLIBS =        XawClientDepLibs
  39. ! LOCAL_LIBRARIES +=    XawClientLibs
  40.   CDEBUGFLAGS =         -g
  41.   
  42.   SRCS = xkal.c month.c day.c schedule.c db.c util.c date-strings.c
  43. *** day.c.old    Thu Nov 15 11:30:12 1990
  44. --- day.c    Thu Nov 15 11:29:49 1990
  45. ***************
  46. *** 1,7 ****
  47.   /*
  48.    *    day.c : The day windows
  49.    *
  50. !  *    $Id: day.c,v 1.1 90/11/07 11:22:38 ferguson Exp $
  51.    */
  52.   #include <X11/Intrinsic.h>
  53.   #include <X11/Shell.h>
  54. --- 1,7 ----
  55.   /*
  56.    *    day.c : The day windows
  57.    *
  58. !  *    $Id: day.c,v 1.2 90/11/15 11:29:30 ferguson Exp $
  59.    */
  60.   #include <X11/Intrinsic.h>
  61.   #include <X11/Shell.h>
  62. ***************
  63. *** 166,178 ****
  64.       for (i=0; i < 22; i++) {
  65.       if ((s=lookupAppoint(i,day,month,year)) != NULL) {
  66.           XtSetArg(args[0],XtNstring,s);
  67. !         XtSetValues(d->items[i]->text,args[0],ONE);
  68.       } else if ((s=lookupSchedule(i,day,month,year)) != NULL) {
  69.           XtSetArg(args[0],XtNstring,s);
  70. !         XtSetValues(d->items[i]->text,args[0],ONE);
  71.       } else {
  72.           XtSetArg(args[0],XtNstring,"");
  73. !         XtSetValues(d->items[i]->text,args[0],ONE);
  74.       }
  75.       }
  76.       d->day = day;
  77. --- 166,178 ----
  78.       for (i=0; i < 22; i++) {
  79.       if ((s=lookupAppoint(i,day,month,year)) != NULL) {
  80.           XtSetArg(args[0],XtNstring,s);
  81. !         XtSetValues(d->items[i]->text,args,ONE);
  82.       } else if ((s=lookupSchedule(i,day,month,year)) != NULL) {
  83.           XtSetArg(args[0],XtNstring,s);
  84. !         XtSetValues(d->items[i]->text,args,ONE);
  85.       } else {
  86.           XtSetArg(args[0],XtNstring,"");
  87. !         XtSetValues(d->items[i]->text,args,ONE);
  88.       }
  89.       }
  90.       d->day = day;
  91.