Replace homebrew IABS() with C kubrary labs(3).

This commit is contained in:
Eric S. Raymond 2017-06-06 09:21:46 -04:00
parent 1445c7ebcc
commit 4d6078d8a8
5 changed files with 15 additions and 17 deletions

2
init.c
View file

@ -184,7 +184,7 @@ static int finish_init(void) {
ABB[I]=0;
if(LTEXT[I] == 0 || KEY[I] == 0) goto L1102;
K=KEY[I];
if(MOD(IABS(TRAVEL[K]),1000) == 1)COND[I]=2;
if(MOD(labs(TRAVEL[K]),1000) == 1)COND[I]=2;
L1102: ATLOC[I]=0;
} /* end loop */