diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2014-10-24 11:36:32 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2014-10-24 11:36:32 -0700 |
commit | e931841b27faa7de3d755cb3a6083acf7a464143 (patch) | |
tree | e0f6806dbc39d0cb01187adf9b53f97168cd0b6c /src/references.c | |
parent | 8b1a5abc80685c1caa2ca825e468902356989aa9 (diff) | |
parent | 9e30ca443275356c1693ab785d700c280d5dfa8c (diff) |
Merge branch 'emphstack'
Conflicts:
Makefile
js/lib/inlines.js
Diffstat (limited to 'src/references.c')
-rw-r--r-- | src/references.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/references.c b/src/references.c index 3e54b48..975bf81 100644 --- a/src/references.c +++ b/src/references.c @@ -55,7 +55,7 @@ static void add_reference(reference_map *map, reference* ref) while (t) { if (t->hash == ref->hash && - !strcmp((char *)t->label, (char *)ref->label)) { + !strcmp((char *)t->label, (char *)ref->label)) { reference_free(ref); return; } @@ -105,7 +105,7 @@ reference* reference_lookup(reference_map *map, chunk *label) while (ref) { if (ref->hash == hash && - !strcmp((char *)ref->label, (char *)norm)) + !strcmp((char *)ref->label, (char *)norm)) break; ref = ref->next; } @@ -138,4 +138,3 @@ reference_map *reference_map_new(void) memset(map, 0x0, sizeof(reference_map)); return map; } - |