summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/CPlusPlusUtil.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-02-01 20:31:13 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-02-01 20:31:13 +0000
commit4f02fb32ed74fb7f6bb18bec6d1f70c0ead021d9 (patch)
tree2fd8e4778d91f27ff3079b6518c3fee34dee4933 /cpp/src/Slice/CPlusPlusUtil.cpp
parentMore minor fixes (diff)
downloadice-4f02fb32ed74fb7f6bb18bec6d1f70c0ead021d9.tar.bz2
ice-4f02fb32ed74fb7f6bb18bec6d1f70c0ead021d9.tar.xz
ice-4f02fb32ed74fb7f6bb18bec6d1f70c0ead021d9.zip
Fix last fix
Diffstat (limited to 'cpp/src/Slice/CPlusPlusUtil.cpp')
-rw-r--r--cpp/src/Slice/CPlusPlusUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Slice/CPlusPlusUtil.cpp b/cpp/src/Slice/CPlusPlusUtil.cpp
index 7837cce0260..ad75534d73e 100644
--- a/cpp/src/Slice/CPlusPlusUtil.cpp
+++ b/cpp/src/Slice/CPlusPlusUtil.cpp
@@ -860,7 +860,7 @@ Slice::writeMarshalUnmarshalCode(Output& out, const TypePtr& type, const string&
string tmpParam = "__";
if(fixedParam.find("(*") == 0)
{
- tmpParam += fixedParam.substr(2, fixedParam.length() - 2);
+ tmpParam += fixedParam.substr(2, fixedParam.length() - 3);
}
else if(fixedParam.find("[i]") != string::npos)
{