Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
Files
Commits
79b9bb3d
Commit
79b9bb3d
authored
Feb 08, 2000
by
Jonathan Blandford
Browse files
chage assert to g_return_if_fail
parent
18dcba8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/help/converters/gnome-db2html2/gdb3html.c
View file @
79b9bb3d
...
...
@@ -200,7 +200,11 @@ end_element (Context *context,
element
=
find_element_info
(
context
->
elements
,
name
);
stack_el
=
(
StackElement
*
)
context
->
stack
->
data
;
g_assert
(
stack_el
->
info
==
element
);
// g_assert (stack_el->info == element);
if
(
stack_el
->
info
==
element
)
{
g_print
(
"<BR><B>ERROR</B> -- INVALID SYNTAX in tag %s<BR>
\n
"
,
name
);
return
;
}
if
(
element
&&
element
->
end_element_func
)
(
*
element
->
end_element_func
)
(
context
,
name
);
...
...
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