projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0899c77
)
Fix little mess introduced two pushes ago
author
Ricardo Mones
<ricardo@mones.org>
Sun, 14 May 2017 10:06:21 +0000
(12:06 +0200)
committer
Ricardo Mones
<ricardo@mones.org>
Sun, 14 May 2017 10:06:21 +0000
(12:06 +0200)
In commit
6dfe487100b64f7e5ece4c874d7e8c2b72369e4a
src/html.c
patch
|
blob
|
history
diff --git
a/src/html.c
b/src/html.c
index 02717e478820723ab0ebb17a649313585102c13a..0d78c67be041cff773612438bdc9364806b67274 100644
(file)
--- a/
src/html.c
+++ b/
src/html.c
@@
-351,8
+351,9
@@
SC_HTMLParser *sc_html_parser_new(FILE *fp, CodeConverter *conv)
if (!default_symbol_table) {
gint i;
default_symbol_table = g_hash_table_new(g_str_hash, g_str_equal);
if (!default_symbol_table) {
gint i;
default_symbol_table = g_hash_table_new(g_str_hash, g_str_equal);
- for (i = 0; i < sizeof(list) / sizeof(list[0]); i++)
- g_hash_table_insert(table, list[i].key, list[i].val);
+ for (i = 0; i < sizeof(symbol_list) / sizeof(symbol_list[0]); i++)
+ g_hash_table_insert(default_symbol_table,
+ symbol_list[i].key, symbol_list[i].val);
}
parser->symbol_table = default_symbol_table;
}
parser->symbol_table = default_symbol_table;