mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 06:37:52 +00:00
LibGUI: Fix LibGUI::to_string() for GVariant::Type::Float.
This commit is contained in:
@@ -56,7 +56,7 @@ String GVariant::to_string() const
|
||||
case Type::Int:
|
||||
return String::format("%d", as_int());
|
||||
case Type::Float:
|
||||
return String::format("%f", as_float());
|
||||
return String::format("%f", (double)as_float());
|
||||
case Type::String:
|
||||
return as_string();
|
||||
case Type::Bitmap:
|
||||
|
||||
Reference in New Issue
Block a user