# | Line 306 | Line 306 | uninit() /* mark end of MGF file */ | |
---|---|---|
306 | } | |
307 | ||
308 | ||
309 | + | clrverts() /* clear vertex table */ |
310 | + | { |
311 | + | register int i; |
312 | + | |
313 | + | lu_done(&vertab); |
314 | + | for (i = 0; i < NVERTS; i++) |
315 | + | vert[i].lused = 0; |
316 | + | lu_init(&vertab, NVERTS); |
317 | + | } |
318 | + | |
319 | + | |
320 | add2dispatch(name, func) /* add function to dispatch table */ | |
321 | char *name; | |
322 | int (*func)(); | |
# | Line 511 | Line 522 | FUNARGS *fa; | |
522 | fputs(fa->sarg[i], stdout); | |
523 | } | |
524 | putchar('\n'); | |
525 | + | clrverts(); /* vertex id's no longer reliable */ |
526 | return(0); | |
527 | } | |
528 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |