diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-08-08 17:27:33 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2025-08-11 21:43:10 +0200 |
commit | 23ffaf32cda0ced7a34c98f5720990ffe6d4b662 (patch) | |
tree | 006e717379936936ca3ae3f874c715cdb8b1b762 /dw/widget.cc | |
parent | db9688b1808c97fa0961bdd3f7919b17b760b163 (diff) |
Add dStr_shorten() to make strings shorter
Some URLs are very long and would cause long lines when being displayed.
To avoid this problem, we introduce dStr_shorten() to cut them and use
"..." in the middle so they fit in the specified character count.
Diffstat (limited to 'dw/widget.cc')
0 files changed, 0 insertions, 0 deletions