From e17606aad0028f3b1cf0acca3786f434c6c2265e Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sun, 12 Apr 2020 07:58:01 +0000 Subject: [PATCH] Document the iniGetObject(null) behavior. --- src/sbbs3/js_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/js_file.c b/src/sbbs3/js_file.c index 4815b6de3a..a3abebd529 100644 --- a/src/sbbs3/js_file.c +++ b/src/sbbs3/js_file.c @@ -2878,7 +2878,7 @@ static jsSyncMethodSpec js_file_functions[] = { {"iniGetObject", js_iniGetObject, 1, JSTYPE_OBJECT, JSDOCSTR("[section=<i>root</i>] [lowercase=<tt>false</tt>]") ,JSDOCSTR("parse an entire section from a .ini file " "and return all of its keys (optionally lowercased) and values as properties of an object. " - "if <i>section</i> is undefined, returns keys and values from the <i>root</i> section. " + "if <i>section</i> is <tt>null</tt> or <tt>undefined</tt>, returns keys and values from the <i>root</i> section. " "Returns <i>null</i> if the specified <i>section</i> does not exist in the file or the file has not been opened.") ,311 }, -- GitLab