mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-01-03 17:05:47 +00:00
generator: Trim type "const " the same way as "const-" as both are valid
This commit is contained in:
parent
a7d3e85829
commit
d0bb5efa3a
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue