summaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_file.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-04-05 13:51:51 -0500
committerDarrell Anderson <[email protected]>2012-04-05 13:51:51 -0500
commit7808ef5643db84e4f054c829fe442c9bed44ca9b (patch)
tree1928e7282af37c14c7771e1ad20f09774152a53a /src/modules/objects/class_file.cpp
parent883738eedfef131d2a03ac11927eb63dad7dfab6 (diff)
downloadkvirc-7808ef5643db84e4f054c829fe442c9bed44ca9b.tar.gz
kvirc-7808ef5643db84e4f054c829fe442c9bed44ca9b.zip
Fix typos.
Diffstat (limited to 'src/modules/objects/class_file.cpp')
-rw-r--r--src/modules/objects/class_file.cpp4
1 files changed, 2 insertions, 2 deletions
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;