From 9110574bb51e9e2959842a7641f598d34c3cd847 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 13 Dec 2019 01:02:47 +0800 Subject: ... --- src/ui/render/render_object.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/ui/render/render_object.cpp') diff --git a/src/ui/render/render_object.cpp b/src/ui/render/render_object.cpp index a28b4f03..8e65dad0 100644 --- a/src/ui/render/render_object.cpp +++ b/src/ui/render/render_object.cpp @@ -62,14 +62,14 @@ void RenderObject::OnMeasureCore(const Size& available_size) { auto coerced_margin_padding_size = margin_padding_size; if (coerced_margin_padding_size.width > available_size.width) { log::Warn( - L"Measure: horizontal length of padding and margin is bigger than " - L"available length."); + "Measure: horizontal length of padding and margin is bigger than " + "available length."); coerced_margin_padding_size.width = available_size.width; } if (coerced_margin_padding_size.height > available_size.height) { log::Warn( - L"Measure: vertical length of padding and margin is bigger than " - L"available length."); + "Measure: vertical length of padding and margin is bigger than " + "available length."); coerced_margin_padding_size.height = available_size.height; } @@ -90,14 +90,14 @@ void RenderObject::OnLayoutCore(const Rect& rect) { if (coerced_content_available_size.width < 0) { log::Warn( - L"Layout: horizontal length of padding and margin is bigger than " - L"available length."); + "Layout: horizontal length of padding and margin is bigger than " + "available length."); coerced_content_available_size.width = 0; } if (coerced_content_available_size.height < 0) { log::Warn( - L"Layout: vertical length of padding and margin is bigger than " - L"available length."); + "Layout: vertical length of padding and margin is bigger than " + "available length."); coerced_content_available_size.height = 0; } -- cgit v1.2.3