summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/Instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cppe/src/IceE/Instance.cpp')
-rw-r--r--cppe/src/IceE/Instance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cppe/src/IceE/Instance.cpp b/cppe/src/IceE/Instance.cpp
index 035e8b4cc4d..67dbb2750ba 100644
--- a/cppe/src/IceE/Instance.cpp
+++ b/cppe/src/IceE/Instance.cpp
@@ -289,8 +289,8 @@ IceInternal::Instance::stringToIdentity(const string& s) const
ident.name = tmpString;
_initData.stringConverter->fromUTF8(reinterpret_cast<const Byte*>(ident.category.data()),
- reinterpret_cast<const Byte*>(ident.category.data() + ident.name.size()),
- tmpString);
+ reinterpret_cast<const Byte*>(ident.category.data() + ident.category.size()),
+ tmpString);
ident.category = tmpString;
}