version 1.14, 2016/11/08 15:28:17 |
version 1.15, 2016/11/08 15:57:28 |
Line 130 tag_put(const char *s, int prio, size_t line) |
|
Line 130 tag_put(const char *s, int prio, size_t line) |
|
size_t len; |
size_t len; |
unsigned int slot; |
unsigned int slot; |
|
|
if (tag_files.tfd <= 0 || strchr(s, ' ') != NULL) |
/* Sanity checks. */ |
|
|
|
if (tag_files.tfd <= 0) |
|
return; |
|
if (s[0] == '\\' && (s[1] == '&' || s[1] == 'e')) |
|
s += 2; |
|
if (*s == '\0' || strchr(s, ' ') != NULL) |
return; |
return; |
|
|
slot = ohash_qlookup(&tag_data, s); |
slot = ohash_qlookup(&tag_data, s); |