Skip to content

Commit b8a37a3

Browse files
committed
account for double quotes
1 parent 1dec1e3 commit b8a37a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rubberduck.Parsing/Annotations/AttributeAnnotationProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class AttributeAnnotationProvider : IAttributeAnnotationProvider
3636
// FIXME special cased bodge for ExcelHotKeyAnnotation to deal with the value transformation:
3737
if (flexibleValueAttributeAnnotation == AnnotationType.ExcelHotKey)
3838
{
39-
return (flexibleValueAttributeAnnotation, attributeValues.Select(keySpec => keySpec.Substring(0, 1)).ToList());
39+
return (flexibleValueAttributeAnnotation, attributeValues.Select(keySpec => keySpec.Substring(1, 1)).ToList());
4040
}
4141
return (flexibleValueAttributeAnnotation, attributeValues);
4242
}

0 commit comments

Comments
 (0)