Skip to content
Snippets Groups Projects
Commit 2d033355 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix typo (wrong default size value) in JSDOCS for format_name()

The default is 'size' parameter value is 12 characters, not 13.
parent 6d6925b3
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2593 passed
...@@ -1695,7 +1695,7 @@ static jsSyncMethodSpec js_filebase_functions[] = { ...@@ -1695,7 +1695,7 @@ static jsSyncMethodSpec js_filebase_functions[] = {
,31900 ,31900
}, },
{"format_name", js_format_file_name,1, JSTYPE_STRING {"format_name", js_format_file_name,1, JSTYPE_STRING
,JSDOCSTR("path/filename [,number size=13] [,boolean pad=false]") ,JSDOCSTR("path/filename [,number size=12] [,boolean pad=false]")
,JSDOCSTR("returns formatted (e.g. shortened) version of filename without path (file base does not have to be open) for display") ,JSDOCSTR("returns formatted (e.g. shortened) version of filename without path (file base does not have to be open) for display")
,31900 ,31900
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment