From 59f03c5663d07f87993d682e7fd07b453fc19a11 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Wed, 14 Feb 2024 12:25:42 +0100 Subject: feat: Add spellfix extension --- main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index 69a68b8..f95a465 100644 --- a/main.c +++ b/main.c @@ -11,14 +11,15 @@ unsigned int count_lines(FILE* file); int load_or_save_db(sqlite3 *pInMemory, const char *zFilename, int isSave); int main() { + + Data *data = new_data(":memory:"); + bootstrap(data); + setlocale(LC_ALL, ""); initscr(); noecho(); cbreak(); - Data *data = new_data(":memory:"); - bootstrap(data); - FILE *f = fopen("dict.txt", "r"); unsigned int lines = count_lines(f); fseek(f, 0, SEEK_SET); -- cgit v1.2.3