mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-04 22:10:44 +09:00
Mention setcap dependency
This commit is contained in:
@@ -1640,6 +1640,7 @@ namespace gsr {
|
||||
return result;
|
||||
}
|
||||
|
||||
// TODO: Utf8 truncate
|
||||
static void truncate_string(std::string &str, int max_length) {
|
||||
if((int)str.size() > max_length)
|
||||
str.replace(str.begin() + max_length, str.end(), "...");
|
||||
|
||||
Reference in New Issue
Block a user