Compare function pointers against 0 rather than nil.

This commit is contained in:
wkj 2004-07-09 01:54:06 +00:00
parent eac9e0183f
commit a87638642c
13 changed files with 15 additions and 15 deletions

View file

@ -58,7 +58,7 @@ delayednotes(Proc *p, void *v)
for(n=notes; n<enotes; n++){
if(n->proc == p){
for(i=0; i<NFN; i++){
if(onnotepid[i]!=p->pid || (fn = onnote[i])==nil)
if(onnotepid[i]!=p->pid || (fn = onnote[i])==0)
continue;
if((*fn)(v, n->s))
break;