aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Pulford <mark@kyne.com.au>2011-09-15 20:40:35 +0930
committerMark Pulford <mark@kyne.com.au>2011-09-15 20:40:35 +0930
commitd49e97d59f9c7ca1882279a15d8345595b19ef11 (patch)
tree8359993691f3ac5dd9961a9e8b49d6ce385b8aed
parent14300217869a04453ab1f8832257c1d511264995 (diff)
downloadlua-cjson-d49e97d59f9c7ca1882279a15d8345595b19ef11.tar.gz
lua-cjson-d49e97d59f9c7ca1882279a15d8345595b19ef11.tar.bz2
lua-cjson-d49e97d59f9c7ca1882279a15d8345595b19ef11.zip
Update comment to match docs (very -> excessively)
-rw-r--r--lua_cjson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua_cjson.c b/lua_cjson.c
index 076c56f..3868de3 100644
--- a/lua_cjson.c
+++ b/lua_cjson.c
@@ -522,7 +522,7 @@ static int lua_array_length(lua_State *l, json_config_t *cfg)
522 return -1; 522 return -1;
523 } 523 }
524 524
525 /* Encode very sparse arrays as objects (if enabled) */ 525 /* Encode excessively sparse arrays as objects (if enabled) */
526 if (cfg->encode_sparse_ratio > 0 && 526 if (cfg->encode_sparse_ratio > 0 &&
527 max > items * cfg->encode_sparse_ratio && 527 max > items * cfg->encode_sparse_ratio &&
528 max > cfg->encode_sparse_safe) { 528 max > cfg->encode_sparse_safe) {