1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Add a few comment and remove an obsolete one

This commit is contained in:
Jonas Fonseca 2005-12-22 04:00:55 +01:00 committed by Jonas Fonseca
parent 9c720c2cc8
commit 4eae1d4882

View File

@ -341,6 +341,9 @@ walk_dom_nodes(struct dom_stack *stack, struct dom_node *root)
/* DOM Stack Tracing: */
#ifdef DOM_STACK_TRACE
/* Compress a string to a single line with newlines etc. replaced with "\\n"
* sequence. */
static inline unsigned char *
compress_string(unsigned char *string, unsigned int length)
{
@ -364,7 +367,8 @@ compress_string(unsigned char *string, unsigned int length)
return buffer.source;
}
/* @codepage denotes how entity strings should be decoded. */
/* Set @string to the value of the given @node, however, with strings
* compressed and entity references 'expanded'. */
static void
set_enhanced_dom_node_value(struct dom_string *string, struct dom_node *node)
{