diff -c -w OGetFile/getfile.c GetFile/getfile.c *** OGetFile/getfile.c Tue May 19 01:45:05 1987 --- GetFile/getfile.c Mon May 18 23:58:30 1987 *************** *** 161,170 **** /* Open a requester "Window" */ static struct NewWindow NewFiles = { ! 160, 30, RWDTH,RHGHT, BCOL,FCOL, NL, /* Fill in AFTER opening ... */ SMART_REFRESH | ACTIVATE | RMBTRAP | WINDOWDRAG, &og1,NL,NL, NL, ! NL, RWDTH,RHGHT,RWDTH,RHGHT, WBENCHSCREEN }; IMPORT struct Library *IntuitionBase; --- 161,170 ---- /* Open a requester "Window" */ static struct NewWindow NewFiles = { ! 0, 0, RWDTH,RHGHT, BCOL,FCOL, NL, /* Fill in AFTER opening ... */ SMART_REFRESH | ACTIVATE | RMBTRAP | WINDOWDRAG, &og1,NL,NL, NL, ! NL, RWDTH,RHGHT,RWDTH,RHGHT, CUSTOMSCREEN }; IMPORT struct Library *IntuitionBase; *************** *** 223,234 **** if ( ! (FirstEntry = (struct dirent *)AllocMem((long)DBUFSIZ,0L)) || ! (wRq = (struct Window *)OpenWindow( &NewFiles )) ) { if ( FirstEntry ) FreeMem(FirstEntry,(long)DBUFSIZ); /* notify("Can't Open Requester..."); */ FreeMem(dir_info,(long)sizeof(struct FileInfoBlock)); return(NL); } - /* Set up directory, notify any errors... */ if ( pnam = (char *)dinit(ddir) ) notify(pnam); --- 223,237 ---- if ( ! (FirstEntry = (struct dirent *)AllocMem((long)DBUFSIZ,0L)) || ! (wRq = (struct Window *)OpenWindow( &NewFiles )) ) { + if (!FirstEntry) + notify("Can't Open first entry"); + if (!wRq) + notify("Can't Open new window"); if ( FirstEntry ) FreeMem(FirstEntry,(long)DBUFSIZ); /* notify("Can't Open Requester..."); */ FreeMem(dir_info,(long)sizeof(struct FileInfoBlock)); return(NL); } /* Set up directory, notify any errors... */ if ( pnam = (char *)dinit(ddir) ) notify(pnam);