=== modified file 'miral-shell/decoration_provider.cpp'
--- miral-shell/decoration_provider.cpp 2017-03-15 12:36:17 +0000
+++ miral-shell/decoration_provider.cpp 2017-04-03 12:47:30 +0000
@@ -116,7 +116,7 @@
if (!working)
return;
- auto title = converter.from_bytes(title_);
+ auto title = converter.from_bytes(title_.c_str());
int base_x = 2;
int base_y = region.height-2;
@@ -187,7 +187,7 @@
{
int line_width = 0;
- auto const line = converter.from_bytes(rawline);
+ std::string line(rawline);
auto const fwidth = std::min(region.width / 60, 20);
@@ -213,7 +213,7 @@
{
int base_x = (region.width - help_width)/2;
- auto const line = converter.from_bytes(rawline);
+ std::string line(rawline);
for (auto const& ch : line)
{
=== modified file 'miral/cursor_theme.cpp'
--- miral/cursor_theme.cpp 2016-09-28 10:57:41 +0000
+++ miral/cursor_theme.cpp 2017-04-03 12:41:56 +0000
@@ -49,7 +49,7 @@
if (has_default_cursor(*xcursor_loader))
return xcursor_loader;
-
- BOOST_THROW_EXCEPTION(std::runtime_error(("Failed to load cursor theme: " + theme).c_str()));
+ else
+ return std::shared_ptr<mi::CursorImages>{};
});
}