Make sure we only try to handle the final dimension of the array
and not any intermediate ones in the case of a multidimensional character array. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39786 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -34,7 +34,7 @@ CStringTypeHandler::SupportsType(Type* type)
|
||||
modifiedType = dynamic_cast<ModifiedType*>(
|
||||
addressType->BaseType());
|
||||
}
|
||||
} else if (arrayType != NULL) {
|
||||
} else if (arrayType != NULL && arrayType->CountDimensions() == 1) {
|
||||
baseType = dynamic_cast<PrimitiveType*>(
|
||||
arrayType->BaseType());
|
||||
if (baseType == NULL) {
|
||||
|
||||
Reference in New Issue
Block a user