diff --git a/src/modules/mediaplayer/libkvimediaplayer.cpp b/src/modules/mediaplayer/libkvimediaplayer.cpp index 216c11b..35f5397 100644 --- a/src/modules/mediaplayer/libkvimediaplayer.cpp +++ b/src/modules/mediaplayer/libkvimediaplayer.cpp @@ -617,7 +617,7 @@ MP_KVS_COMMAND(amipExec) @seealso: [module:mediaplayer]media player module documentation[/module], [fnc]$mediaplayer.position[/fnc], - [fnc]$mediaplayer.lenght[/fnc], + [fnc]$mediaplayer.length[/fnc], */ MP_KVS_COMMAND(jumpTo) diff --git a/src/modules/objects/class_file.cpp b/src/modules/objects/class_file.cpp index 9e966a6..232713c 100644 --- a/src/modules/objects/class_file.cpp +++ b/src/modules/objects/class_file.cpp @@ -376,7 +376,7 @@ bool KviKvsObject_file::functionreadBlock(KviKvsObjectFunctionCall *c) { kvs_uint_t uLen; KVSO_PARAMETERS_BEGIN(c) - KVSO_PARAMETER("lenght",KVS_PT_UNSIGNEDINTEGER,0,uLen) + KVSO_PARAMETER("length",KVS_PT_UNSIGNEDINTEGER,0,uLen) KVSO_PARAMETERS_END(c) if (!m_pFile) return true; if(!m_pFile->isOpen()) @@ -398,7 +398,7 @@ bool KviKvsObject_file::functionwriteBlock(KviKvsObjectFunctionCall *c) TQString szBlock; kvs_uint_t uLen; KVSO_PARAMETERS_BEGIN(c) - KVSO_PARAMETER("lenght",KVS_PT_UNSIGNEDINTEGER,0,uLen) + KVSO_PARAMETER("length",KVS_PT_UNSIGNEDINTEGER,0,uLen) KVSO_PARAMETER("text_block",KVS_PT_STRING,0,szBlock) KVSO_PARAMETERS_END(c) if (!m_pFile) return true; diff --git a/src/modules/objects/class_lineedit.cpp b/src/modules/objects/class_lineedit.cpp index 868ce8f..0ac5aa4 100644 --- a/src/modules/objects/class_lineedit.cpp +++ b/src/modules/objects/class_lineedit.cpp @@ -81,7 +81,7 @@ static const int mode_cod[] = { Returns the current maximum length of the text that can be typed in the editor.[br] See also [classfnc]$setMaxLength[/classfnc](). - !fn: $setMaxLength() + !fn: $setMaxLength() Sets maximum length of the text that can be typed in the editor.[br] See also [classfnc]$maxLength[/classfnc](). diff --git a/src/modules/objects/class_painter.cpp b/src/modules/objects/class_painter.cpp index 0949945..28b774e 100644 --- a/src/modules/objects/class_painter.cpp +++ b/src/modules/objects/class_painter.cpp @@ -640,7 +640,7 @@ bool KviKvsObject_painter::functiondrawArc(KviKvsObjectFunctionCall *c) kvs_int_t iSangle,iLena,iX,iY,iW,iH; KVSO_PARAMETERS_BEGIN(c) KVSO_PARAMETER("start_angle",KVS_PT_INT,0,iSangle) - KVSO_PARAMETER("a_lenght",KVS_PT_INT,0,iLena) + KVSO_PARAMETER("a_length",KVS_PT_INT,0,iLena) KVSO_PARAMETER("x_or_array",KVS_PT_VARIANT,0,pXOrArray) KVSO_PARAMETER("y",KVS_PT_INT,KVS_PF_OPTIONAL,iY) KVSO_PARAMETER("w",KVS_PT_INT,KVS_PF_OPTIONAL,iW) @@ -658,7 +658,7 @@ bool KviKvsObject_painter::functiondrawChord(KviKvsObjectFunctionCall *c) kvs_int_t iSangle,iLena,iX,iY,iW,iH; KVSO_PARAMETERS_BEGIN(c) KVSO_PARAMETER("start_angle",KVS_PT_INT,0,iSangle) - KVSO_PARAMETER("a_lenght",KVS_PT_INT,0,iLena) + KVSO_PARAMETER("a_length",KVS_PT_INT,0,iLena) KVSO_PARAMETER("x_or_array",KVS_PT_VARIANT,0,pXOrArray) KVSO_PARAMETER("y",KVS_PT_INT,KVS_PF_OPTIONAL,iY) KVSO_PARAMETER("w",KVS_PT_INT,KVS_PF_OPTIONAL,iW) @@ -717,7 +717,7 @@ bool KviKvsObject_painter::functiondrawPie(KviKvsObjectFunctionCall *c) kvs_int_t iSangle,iLena,iX,iY,iW,iH; KVSO_PARAMETERS_BEGIN(c) KVSO_PARAMETER("start_angle",KVS_PT_INT,0,iSangle) - KVSO_PARAMETER("a_lenght",KVS_PT_INT,0,iLena) + KVSO_PARAMETER("a_length",KVS_PT_INT,0,iLena) KVSO_PARAMETER("x_or_array",KVS_PT_VARIANT,0,pXOrArray) KVSO_PARAMETER("y",KVS_PT_INT,KVS_PF_OPTIONAL,iY) KVSO_PARAMETER("w",KVS_PT_INT,KVS_PF_OPTIONAL,iW) diff --git a/src/modules/str/libkvistr.cpp b/src/modules/str/libkvistr.cpp index b7ea2e7..7cd6b0c 100644 --- a/src/modules/str/libkvistr.cpp +++ b/src/modules/str/libkvistr.cpp @@ -144,11 +144,11 @@ static bool str_kvs_cmd_toClipboard(KviKvsModuleCommandCall * c) @title: $str.len @short: - Returns the lenght of the given string + Returns the length of the given string @syntax: $str.len() @description: - Returns the lenght (that is, number of characters) of the given string. + Returns the length (that is, number of characters) of the given string. This function is internally aliased to [fnc]$str.length[/fnc]() too. */ @@ -159,11 +159,11 @@ static bool str_kvs_cmd_toClipboard(KviKvsModuleCommandCall * c) @title: $str.length @short: - Returns the lenght of the given string + Returns the length of the given string @syntax: $str.length() @description: - Returns the lenght (that is, number of characters) of the given string. + Returns the length (that is, number of characters) of the given string. This function is internally aliased to [fnc]$str.len[/fnc]() too. */