home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume5 / xplaces2 / patch1 next >
Internet Message Format  |  1989-10-18  |  2KB

  1. Path: uunet!island!argv
  2. From: argv@island.uu.net (Dan Heller)
  3. Newsgroups: comp.sources.x
  4. Subject: v05i013: xplaces2, Patch1
  5. Message-ID: <1139@island.uu.net>
  6. Date: 17 Oct 89 19:11:57 GMT
  7. Organization: Island Graphics, Marin County, California
  8. Lines: 84
  9. Approved: island!argv@sun.com
  10.  
  11. Submitted-by: Miek Rowan <uunet!mentor.cc.purdue.edu!mtr>
  12. Posting-number: Volume 5, Issue 13
  13. Archive-name: xplaces2/patch1
  14. Patch-To: xplaces2: Volume 2, Issue 68
  15.  
  16.  
  17. *** /tmp/,RCSt1006914    Mon Oct 16 13:38:24 1989
  18. --- patchlevel.h    Mon Oct 16 13:38:00 1989
  19. ***************
  20. *** 1 ****
  21. ! #define PATCHLEVEL 0
  22. --- 1 ----
  23. ! #define PATCHLEVEL 1
  24. *** /tmp/,RCSt1006984    Mon Oct 16 13:38:42 1989
  25. --- xplaces.c    Mon Oct 16 13:36:56 1989
  26. ***************
  27. *** 389,417 ****
  28.   }
  29.   
  30.   void
  31. ! dumpcommandname(pch, nitems, retnitems)
  32. !     char *pch;
  33.       unsigned long nitems;
  34.       unsigned long *retnitems;
  35.   {
  36. !     int i;
  37.   
  38. !     for(i = 0; i< nitems; ) {
  39. !         int temp;
  40.   
  41. !         if(!strcmp("-e",pch)) {
  42. !             temp = strlen(pch) + 1;
  43. !             pch += temp;  
  44. !             i += temp;
  45. !             dasheme =  pch;
  46. !             *retnitems = (unsigned long) i;
  47.               return;
  48.           } else {
  49. !             fprintf(pFout,"%s ",pch);
  50.           }
  51. !         temp = strlen(pch) + 1;
  52. !         pch += temp;  
  53. !         i += temp;
  54.       } 
  55.   }
  56.   
  57. --- 389,425 ----
  58.   }
  59.   
  60.   void
  61. ! dumpcommandname(pcCommand, nitems, retnitems)
  62. !     char *pcCommand;
  63.       unsigned long nitems;
  64.       unsigned long *retnitems;
  65.   {
  66. !     int iCnt;
  67.   
  68. !     for(iCnt = 0; iCnt< nitems; ) {
  69. !         int iTemp;
  70.   
  71. !         if(!strcmp("-geometry", pcCommand)) {
  72. !             /* 
  73. !              * skip geometries...they might not be 
  74. !              * accurate...
  75. !              */
  76. !             iTemp = strlen(pcCommand) + 1;
  77. !             pcCommand += iTemp;  
  78. !             iCnt += iTemp;
  79. !         } else if(!strcmp("-e",pcCommand)) {
  80. !             iTemp = strlen(pcCommand) + 1;
  81. !             pcCommand += iTemp;  
  82. !             iCnt += iTemp;
  83. !             dasheme =  pcCommand;
  84. !             *retnitems = (unsigned long) iCnt;
  85.               return;
  86.           } else {
  87. !             fprintf(pFout,"%s ",pcCommand);
  88.           }
  89. !         iTemp = strlen(pcCommand) + 1;
  90. !         pcCommand += iTemp;  
  91. !         iCnt += iTemp;
  92.       } 
  93.   }
  94.   
  95.