diff options
| author | 2010-01-10 20:35:56 +0000 | |
|---|---|---|
| committer | 2010-01-10 20:35:56 +0000 | |
| commit | 6338d8edf09e7ca2689572201b94f39c6c1a4d30 (patch) | |
| tree | fcf820f531b29bbc16bd0e260c9c917aeb0f32f0 /src/modules/objects | |
| parent | more stylish: themed combo box, used by kviconsole (diff) | |
| download | KVIrc-6338d8edf09e7ca2689572201b94f39c6c1a4d30.tar.gz KVIrc-6338d8edf09e7ca2689572201b94f39c6c1a4d30.tar.bz2 KVIrc-6338d8edf09e7ca2689572201b94f39c6c1a4d30.zip | |
[KVIrc] (trunk) Fixed some spelling mistakes found by Lintian.
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3829 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects')
| -rw-r--r-- | src/modules/objects/class_file.cpp | 2 | ||||
| -rw-r--r-- | src/modules/objects/class_xmlreader.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/class_file.cpp b/src/modules/objects/class_file.cpp index 747e12a7d..c0532c950 100644 --- a/src/modules/objects/class_file.cpp +++ b/src/modules/objects/class_file.cpp @@ -597,7 +597,7 @@ KVSO_CLASS_FUNCTION(file,writeHexBlock) KVSO_PARAMETERS_END(c) if (szBlock.length()%2) { - c->warning(__tr2qs_ctx("Lenght of hex string is not multiple of 2","objects")); + c->warning(__tr2qs_ctx("Length of hex string is not multiple of 2","objects")); return true; } if (uLen>((uint)szBlock.length()/2)|| !uLen) uLen=szBlock.length(); diff --git a/src/modules/objects/class_xmlreader.cpp b/src/modules/objects/class_xmlreader.cpp index 4e2a1605d..dfe19c6be 100644 --- a/src/modules/objects/class_xmlreader.cpp +++ b/src/modules/objects/class_xmlreader.cpp @@ -62,7 +62,7 @@ [/example] During the call the <xml_data> string will be parsed and the relevant on* events (see below) will be triggered. - $parse will return $true when the parsing terminates succesfully + $parse will return $true when the parsing terminates successfully or $false if it aborts for some reason (unrecoverable error in the document, user abort etc...). If this function return $false then you can call $lastError() to @@ -80,7 +80,7 @@ The default implementation does nothing besides returning $true. !fn: <boolean> $onDocumentEnd() - This function is called when the document parsing terminates succesfully. + This function is called when the document parsing terminates successfully. You can reimplement it in order to handle this notification. You should return $true if you want document parsing to continue and $false if you want it to be aborted. |
