summaryrefslogtreecommitdiff
path: root/thirdparty/squish
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-01-02 13:54:16 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-01-02 13:54:20 +0100
commit844a8d215b1fa768440d5233c532f6e71c54fc14 (patch)
treeeae988c1ae1d36466f5ceca09e0eee57e62bb8d8 /thirdparty/squish
parentea75ea50d2b0f76c44e02e6fd8a558788cc375f6 (diff)
Mono/C#: Make 'GD.Print' and its variants fallback to 'ToString()'
Up until now, 'GD.Print' would convert parameters first to Variant and only then to String. This meant parameters that cannot be converted to Variant would be printed as "Null". This commit makes 'GD.Print' fallback to 'System.Object.ToString()' if the parameter could not be converted to Variant. The same applies to all 'GD.Print' variants: 'GD.PrintS', 'GD.PrintT', 'GD.PrintErr' and 'GD.PrintRaw'.
Diffstat (limited to 'thirdparty/squish')
0 files changed, 0 insertions, 0 deletions