Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Duncan White
C-datadec
Commits
8026b92a
Commit
8026b92a
authored
Apr 09, 1992
by
dcw
Browse files
fixed clumsy error in detecting bad printitems..
parent
c922100b
Changes
1
Hide whitespace changes
Inline
Side-by-side
m2decs.c
View file @
8026b92a
...
...
@@ -648,11 +648,11 @@ static void write_all_params( dname, s ) char *dname; shape s;
{
int
n
=
pl
->
item
->
num
;
for
(
p
=
s
->
params
;
--
n
;
p
=
p
->
next
)
{
for
(
p
=
s
->
params
;
p
!=
NULL
&&
--
n
;
p
=
p
->
next
);
ASSERT
(
p
!=
NULL
,
(
"m2datadec: bad printitem number in shape %s of type %s
\n
"
,
s
->
name
,
dname
));
}
write_param
(
s
->
name
,
p
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment