Commit 05647625 authored by dcw's avatar dcw

fixed stupid bug: parse_shape & build_shapelist called with two

parameters.
parent db4af5ff
......@@ -95,10 +95,11 @@ static BOOL parse_shapes( sp ) shapelist *sp;
{
char *tagname;
paramlist paras;
printlist print;
for(;;) {
if( ! parse_shape( &tagname, &paras ) ) return FALSE;
*sp = build_shapelist( tagname, paras, NULL );
if( ! parse_shape( &tagname, &paras, &print ) ) return FALSE;
*sp = build_shapelist( tagname, paras, print, NULL );
if( nexttok() != tOR ) break;
sp = &( (*sp)->next );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment