[net.sources] fixes to corrections of enhancments of correct.c

jab@ritcv.UUCP (John A Biles) (11/22/83)

Let's try that one again...

Here are some more fixes for the ubiquitous correct program.  These are
corrections to the Olson of Fortune enhanced version of the Eustace original,
NOT to the Rhodes of Havad Schol mods to the Fortunate Olson enhansion of
the original Eustace.  Whew!

These fixes make the program behave consistently with the manual page,
specifically, "Without -d, CR and ESC are equivalent."
The last two changes are purely cosmetic.

			- Al Biles, RIT
			{seismo, allegra}!rochester!ritcv!jab

diff new old
110,117c110,113
< 	if (psLdfile != NULL) {
<		InitasLocdict();
< 		bLocdictflag = 1;
< 	}
< 	else
< 		bLocdictflag = 0;
<
< 	bCorrflag = 0;
---
> 	if (psLdfile != NULL)
>		InitasLocdict();
>
> 	bCorrflag = bLocdictflag = 0;
195,198c191,192
< 			if (bLocdictflag)
< 				AddtoasLocdict(wordin);
< 			else 
< 				putchar('\n');
---
> 			AddtoasLocdict(wordin);
> 			bLocdictflag++;
213c207
<		printf("Corrections made? ");
---
>		printf("Corrections made?");
256c250
< 		printf("Local Dictionary updated? ");
---
> 		printf("Local Dictionary updated?");