generator: Trim type "const " the same way as "const-" as both are valid

This commit is contained in:
Thibault Saunier 2019-02-25 12:30:03 -03:00 committed by Harry
parent a7d3e85829
commit d0bb5efa3a

View File

@ -232,6 +232,7 @@ namespace GtkSharp.Generation {
return trim_type;
if (trim_type.StartsWith("const-")) return trim_type.Substring(6);
if (trim_type.StartsWith("const ")) return trim_type.Substring(6);
return trim_type;
}