diff options
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. |
