From 62ddb9e2e30907a4ed4856b837e6dc629fd30a71 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sun, 13 Dec 2020 07:14:20 +1100 Subject: [PATCH] docs: fix simple typo, ininity -> infinity There is a small typo in lua_cjson.c. Should read `infinity` rather than `ininity`. --- lua_cjson.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua_cjson.c b/lua_cjson.c index 22f33f12..dd6c78e3 100644 --- a/lua_cjson.c +++ b/lua_cjson.c @@ -422,7 +422,7 @@ static void json_create_config(lua_State *l) /* Update characters that require further processing */ cfg->ch2token['f'] = T_UNKNOWN; /* false? */ - cfg->ch2token['i'] = T_UNKNOWN; /* inf, ininity? */ + cfg->ch2token['i'] = T_UNKNOWN; /* inf, infinity? */ cfg->ch2token['I'] = T_UNKNOWN; cfg->ch2token['n'] = T_UNKNOWN; /* null, nan? */ cfg->ch2token['N'] = T_UNKNOWN;