Compare pointers to NULL rather than make it look like they are ints.

This commit is contained in:
obrien 2003-01-06 17:15:35 +00:00
parent 3d3d365329
commit 9043c08e47

@ -650,7 +650,7 @@ distExtract(char *parent, Distribution *me)
goto done; goto done;
} }
} }
else if (fp > 0) { else if (fp != NULL) {
if (isDebug()) if (isDebug())
msgDebug("Parsing attributes file for distribution %s\n", dist); msgDebug("Parsing attributes file for distribution %s\n", dist);
@ -695,7 +695,7 @@ distExtract(char *parent, Distribution *me)
else else
goto getsingle; goto getsingle;
} }
else if (fp > 0) { else if (fp != NULL) {
char *dir = root_bias(me[i].my_dir); char *dir = root_bias(me[i].my_dir);
dialog_clear_norefresh(); dialog_clear_norefresh();