summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9782598)
For enums defined with an underscore_name override, @ENUMPREFIX@
would include a trailing "_". Fix.
https://bugzilla.gnome.org/show_bug.cgi?id=661797
$enumshort =~ s/^[A-Z][A-Z0-9]*_//;
$enumname_prefix = $enumlong;
$enumshort =~ s/^[A-Z][A-Z0-9]*_//;
$enumname_prefix = $enumlong;
- $enumname_prefix =~ s/$enumshort$//;
+ $enumname_prefix =~ s/_$enumshort$//;
} else {
# enumname is e.g. GMatchType
$enspace = $enumname;
} else {
# enumname is e.g. GMatchType
$enspace = $enumname;