diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-12-19 12:08:16 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-12-19 12:08:16 -0800 |
commit | 1140f7ddd58388709ce87b4c306a7c875af5406e (patch) | |
tree | 402ce91bfad2faaf011096cdd21e22d85763e90e /src/houdini_html_u.c | |
parent | a452b609212ec4d08832badfbdf6c3ff6fd6a7c6 (diff) |
Use fully qualified versions of constants.
Diffstat (limited to 'src/houdini_html_u.c')
-rw-r--r--[-rwxr-xr-x] | src/houdini_html_u.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/houdini_html_u.c b/src/houdini_html_u.c index 2f92544..6e8d620 100755..100644 --- a/src/houdini_html_u.c +++ b/src/houdini_html_u.c @@ -9,10 +9,11 @@ /* Binary tree lookup code for entities added by JGM */ -static const unsigned char *S_lookup(int i, int low, int hi, const unsigned char *s, - int len) { +static const unsigned char *S_lookup(int i, int low, int hi, + const unsigned char *s, int len) { int j; - int cmp = strncmp((const char *)s, (const char *)cmark_entities[i].entity, len); + int cmp = + strncmp((const char *)s, (const char *)cmark_entities[i].entity, len); if (cmp == 0 && cmark_entities[i].entity[len] == 0) { return (const unsigned char *)cmark_entities[i].bytes; } else if (cmp < 0 && i > low) { |