summaryrefslogtreecommitdiff
path: root/editor/editor_resource_preview.h
diff options
context:
space:
mode:
authorDavid Sichma <sichmada@gmail.com>2018-10-19 21:53:37 +0200
committerDavid Sichma <sichmada@gmail.com>2018-10-25 20:36:49 +0200
commit62848f94eef289d951370b8cd071821b588b21ea (patch)
tree23a0a1b0adc8514e2c34306db896d3d1df1d8909 /editor/editor_resource_preview.h
parent0d8284d3d4f439e074bf498af81e8c73be23cc67 (diff)
Fix: String::format Variant to String conversion
Previosly String::format used variant.get_construct_string() to convert the passed Variants to Strings. This however did not match the expected printing behavior of some datatypes: Strings for example turned out escaped. This fix replaces the call to get_construct_string() with a simple conversion. This makes String::format consistent with "%s" % "sth" and formated Variants turn out like printed as expected.
Diffstat (limited to 'editor/editor_resource_preview.h')
0 files changed, 0 insertions, 0 deletions