summaryrefslogtreecommitdiff
path: root/test%252525252525252525252525252525252525252525252525253fid%25252525252525252...
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-02-25 21:48:39 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-02-26 09:14:40 +0100
commitc34f9aba29b965bf1da7e16da91ebf94ae123e89 (patch)
tree84fbe45575d63ca93df3f3631af55deb867b5350 /test%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%25252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00&id2%252525252525252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00&id2%25252525252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%25252525252525252525252525252525253fid%25252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%252525252525252525252525252525253fid%252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10&id2%252525252525252525252525252525253df5d8b5e021a62bf3e36e18aa9aebee331fece8dd%2525252525252525252525252525253fid%2525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%25252525252525252525252525253fid%25252525252525252525252525253df5d8b5e021a62bf3e36e18aa9aebee331fece8dd%252525252525252525252525253fid%252525252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%2525252525252525252525253fid%2525252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%25252525252525252525253fid%25252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%252525252525252525253fid%252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%252525252525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%2525252525252525253fid%2525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%25252525252525253fid%25252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%25252525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%252525252525253fid%252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%2525252525253fid%2525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%2525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%25252525253fid%25252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%25252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%252525253fid%252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%2525253fid%2525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%25253fid%25253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%253fid%253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%3fid%3dc34f9aba29b965bf1da7e16da91ebf94ae123e89?id=c34f9aba29b965bf1da7e16da91ebf94ae123e89
parent85772d746f7b1123b94ce9556273b4a9df77eeaf (diff)
Refactor UTF-8 chopping
Add a function that makes sure a string does not exceed a given display size. If the string is too long, dots ("...") are appended. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test%252525252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%2525252525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%25252525252525252525252525252525252525252525253fid%25252525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%252525252525252525252525252525252525252525253fid%252525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00&id2%252525252525252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%2525252525252525252525252525252525252525253fid%2525252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%25252525252525252525252525252525252525253fid%25252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00&id2%25252525252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%252525252525252525252525252525252525253fid%252525252525252525252525252525252525253d9e160fac16e81c42ac368f450b9cc4df29753e00%2525252525252525252525252525252525253fid%2525252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%25252525252525252525252525252525253fid%25252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%252525252525252525252525252525253fid%252525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10&id2%252525252525252525252525252525253df5d8b5e021a62bf3e36e18aa9aebee331fece8dd%2525252525252525252525252525253fid%2525252525252525252525252525253de1b6d226692ddaa8a9f077796a23317d36cd5d10%25252525252525252525252525253fid%25252525252525252525252525253df5d8b5e021a62bf3e36e18aa9aebee331fece8dd%252525252525252525252525253fid%252525252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%2525252525252525252525253fid%2525252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%25252525252525252525253fid%25252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%252525252525252525253fid%252525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%252525252525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%2525252525252525253fid%2525252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%25252525252525253fid%25252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%25252525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%252525252525253fid%252525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%2525252525253fid%2525252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%2525252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%25252525253fid%25252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%25252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%252525253fid%252525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89&id2%252525253d85772d746f7b1123b94ce9556273b4a9df77eeaf%2525253fid%2525253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%25253fid%25253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%253fid%253dc34f9aba29b965bf1da7e16da91ebf94ae123e89%3fid%3dc34f9aba29b965bf1da7e16da91ebf94ae123e89?id=c34f9aba29b965bf1da7e16da91ebf94ae123e89')
0 files changed, 0 insertions, 0 deletions