Skip to content

Commit

Permalink
Fix on SplitFullName.
Browse files Browse the repository at this point in the history
  • Loading branch information
kike-garbo committed Aug 27, 2024
1 parent c364c74 commit e9464ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RhinoInside.Revit.External/DB/Extensions/Category.cs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ internal static string SplitFullName(string fullName, out string parent)
else
{
var index = fullName.IndexOf(CS);
parent = fullName.Substring(0, index);
parent = index < 0 ? string.Empty : fullName.Substring(0, index);
return fullName.Substring(index + 1, fullName.Length - index - 1);
}
}
Expand Down

0 comments on commit e9464ee

Please sign in to comment.