(tend_nxtitem,nxtitem,sarg_type,snxtitem,snxtitem_all,snxtsct,nxtitemp):

change NS_ALL to NS_EVERYTHING in ns_seltype because of a
conflict with winsock2.h which is used in the WIN32 build.
This commit is contained in:
Ron Koenderink 2004-12-31 20:14:10 +00:00
parent 9b56e4d5a0
commit c99a5b4f43
7 changed files with 14 additions and 14 deletions

View file

@ -40,7 +40,7 @@
/*
* setup the nstr structure for sector selection.
* can select on NS_ALL, NS_AREA, NS_DIST, and NS_LIST.
* can select on NS_EVERYTHING, NS_AREA, NS_DIST, and NS_LIST.
* iterate thru the "condarg" string looking
* for arguments to compile into the nstr.
*/
@ -89,7 +89,7 @@ snxtitem(struct nstr_item *np, int type, s_char *str)
return 0;
snxtitem_dist(np, type, cx, cy, dist);
break;
case NS_ALL:
case NS_EVERYTHING:
snxtitem_all(np, type);
break;
case NS_LIST:
@ -184,7 +184,7 @@ snxtitem_all(struct nstr_item *np, int type)
{
memset(np, 0, sizeof(*np));
np->cur = -1;
np->sel = NS_ALL;
np->sel = NS_EVERYTHING;
np->type = type;
np->index = -1;
np->read = ef_read;