From 7808ef5643db84e4f054c829fe442c9bed44ca9b Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 5 Apr 2012 13:51:51 -0500 Subject: Fix typos. --- src/modules/objects/class_file.cpp | 4 ++-- src/modules/objects/class_lineedit.cpp | 2 +- src/modules/objects/class_painter.cpp | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules/objects') diff --git a/src/modules/objects/class_file.cpp b/src/modules/objects/class_file.cpp index 9e966a6e..232713cd 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 868ce8f1..0ac5aa49 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 09499455..28b774ec 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) -- cgit v1.2.1