mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-30 17:48:36 +02: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 New Issue
Block a user