diff --git a/src/parse_table.c b/src/parse_table.c index e239b8b..5d5ede4 100644 --- a/src/parse_table.c +++ b/src/parse_table.c @@ -53,18 +53,7 @@ struct translation_table *parse_table(char *filename) system_ctype = ""; // I don't think we can free the return from setlocale() } - if (ttable_stat.st_size > 0) { - size = ttable_stat.st_size; - } - else { - size = (512 * ttable_stat.st_blocks); - } - - size /= 6; - - if (size < 500) { - size = 500; - } + size = 1000; table = table_init(size); if (table == NULL) {