home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
x
/
volume5
/
xplaces2
/
patch1
next >
Wrap
Internet Message Format
|
1989-10-18
|
2KB
Path: uunet!island!argv
From: argv@island.uu.net (Dan Heller)
Newsgroups: comp.sources.x
Subject: v05i013: xplaces2, Patch1
Message-ID: <1139@island.uu.net>
Date: 17 Oct 89 19:11:57 GMT
Organization: Island Graphics, Marin County, California
Lines: 84
Approved: island!argv@sun.com
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;
}
}