aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-23 05:12:53 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-23 05:12:53 +0200
commita9219531c2e286f65b3a1d137f61b72987b960b1 (patch)
treec9a85d61dbc1a6135411bc61039dbbbcd191b973 /src/plugins
parentbd1c52d14338775b6e6b1da0cb6fd064fa3c4ad2 (diff)
Only use x11egl mpv option when running wayland. Disable video disk cache, use mpv default instead
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Matrix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/Matrix.cpp b/src/plugins/Matrix.cpp
index 3144232..de50049 100644
--- a/src/plugins/Matrix.cpp
+++ b/src/plugins/Matrix.cpp
@@ -71,12 +71,12 @@ namespace QuickMedia {
size_t index = result.find('\n');
if(index == std::string::npos) {
if(result.size() > max_length)
- return result.substr(0, max_length) + " ...";
+ return result.substr(0, max_length) + "...";
return result;
} else if(index == 0) {
return "";
} else {
- return result.substr(0, std::min(index, max_length)) + " ...";
+ return result.substr(0, std::min(index, max_length)) + "...";
}
}