summaryrefslogtreecommitdiff
path: root/ace/SString.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>1999-01-24 22:23:55 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>1999-01-24 22:23:55 +0000
commit2d0f8dbb9e17810de1e7ea0512deb9b9f69ba063 (patch)
tree5ad4971409e807063ca4116f544647c6d63033d0 /ace/SString.cpp
parent003ded7797fee5e5a34bb4529d5719b43f2a8ddf (diff)
downloadATCD-2d0f8dbb9e17810de1e7ea0512deb9b9f69ba063.tar.gz
the variable "length" was misspelled in one of the lines in the substring
method
Diffstat (limited to 'ace/SString.cpp')
-rw-r--r--ace/SString.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/SString.cpp b/ace/SString.cpp
index 021e721d097..66ca104537b 100644
--- a/ace/SString.cpp
+++ b/ace/SString.cpp
@@ -341,7 +341,7 @@ ACE_CString::substring (size_t offset,
if (offset >= this->len_)
return nil;
// No length == empty string.
- else if (lenth == 0)
+ else if (length == 0)
return nil;
// Get all remaining bytes.
else if (length == -1)