From 7a8c6a45793f6cc28ce146ab660e383aa4ff2109 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 14 Dec 2022 20:48:41 -0800 Subject: [PATCH] Spelling DEFAULT incorrectly; it's good now. --- kjv/src/kjv.re_c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kjv/src/kjv.re_c.c b/kjv/src/kjv.re_c.c index cfef770..0e420d5 100644 --- a/kjv/src/kjv.re_c.c +++ b/kjv/src/kjv.re_c.c @@ -269,7 +269,7 @@ static void words_to_string(const union kjvcite x, char (*const a)[12]) #define TABLE_KEY union kjvcite #define TABLE_UINT uint32_t #define TABLE_VALUE unsigned -#define TABLE_DEFUALT 0 +#define TABLE_DEFAULT 0 #define TABLE_INVERSE #define TABLE_TO_STRING #include "../src/table.h" @@ -348,7 +348,7 @@ int main(void) { kjv_book_string[c.book], c.chapter, c.verse, *w); c.u32 = 0; /* Unnecessary? */ c.book = Genesis, c.chapter = 1, c.verse = 1; - printf("%u\n", words_table_get_or(&words, c, 0)); /* Why not get? */ + printf("1:1:1 -> %u\n", words_table_get(&words, c)); } goto finally; catch: