Rev 15328 | Rev 15588 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 15328 | Rev 15516 | ||
---|---|---|---|
Line 803... | Line 803... | ||
803 | void _pos(char *hay, char *stitch, int style, char *out, |
803 | void _pos(char *hay, char *stitch, int style, char *out, |
804 | char *(fnd_obj)(char *p, int n, char bf[]), |
804 | char *(fnd_obj)(char *p, int n, char bf[]), |
805 | unsigned int (objnum)(char *p)) |
805 | unsigned int (objnum)(char *p)) |
806 | { |
806 | { |
807 | int i,n,t; |
807 | int i,n,t; |
808 | char buf[MAX_LINELEN+1], nbuf[ |
808 | char buf[MAX_LINELEN+1], nbuf[12]; |
809 | 809 | ||
810 | n=objnum(hay); |
810 | n=objnum(hay); |
811 | for(i=1;i<=n;i++) { |
811 | for(i=1;i<=n;i++) { |
812 | fnd_obj(hay,i,buf); |
812 | fnd_obj(hay,i,buf); |
813 | if(strcmp(buf,stitch)!=0) continue; |
813 | if(strcmp(buf,stitch)!=0) continue; |