argv@island.uu.net (Dan Heller) (10/18/89)
Submitted-by: Miek Rowan <uunet!mentor.cc.purdue.edu!mtr> Posting-number: Volume 5, Issue 13 Archive-name: xplaces2/patch1 Patch-To: xplaces2: Volume 2, Issue 68 *** /tmp/,RCSt1006914 Mon Oct 16 13:38:24 1989 --- patchlevel.h Mon Oct 16 13:38:00 1989 *************** *** 1 **** ! #define PATCHLEVEL 0 --- 1 ---- ! #define PATCHLEVEL 1 *** /tmp/,RCSt1006984 Mon Oct 16 13:38:42 1989 --- xplaces.c Mon Oct 16 13:36:56 1989 *************** *** 389,417 **** } void ! dumpcommandname(pch, nitems, retnitems) ! char *pch; unsigned long nitems; unsigned long *retnitems; { ! int i; ! for(i = 0; i< nitems; ) { ! int temp; ! if(!strcmp("-e",pch)) { ! temp = strlen(pch) + 1; ! pch += temp; ! i += temp; ! dasheme = pch; ! *retnitems = (unsigned long) i; return; } else { ! fprintf(pFout,"%s ",pch); } ! temp = strlen(pch) + 1; ! pch += temp; ! i += temp; } } --- 389,425 ---- } void ! dumpcommandname(pcCommand, nitems, retnitems) ! char *pcCommand; unsigned long nitems; unsigned long *retnitems; { ! int iCnt; ! for(iCnt = 0; iCnt< nitems; ) { ! int iTemp; ! if(!strcmp("-geometry", pcCommand)) { ! /* ! * skip geometries...they might not be ! * accurate... ! */ ! iTemp = strlen(pcCommand) + 1; ! pcCommand += iTemp; ! iCnt += iTemp; ! } else if(!strcmp("-e",pcCommand)) { ! iTemp = strlen(pcCommand) + 1; ! pcCommand += iTemp; ! iCnt += iTemp; ! dasheme = pcCommand; ! *retnitems = (unsigned long) iCnt; return; } else { ! fprintf(pFout,"%s ",pcCommand); } ! iTemp = strlen(pcCommand) + 1; ! pcCommand += iTemp; ! iCnt += iTemp; } }