mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fix missing ellipsis in shortenString function.
This commit is contained in:
parent
2ee2c180a5
commit
aa9669fe47
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ function shortenString(name, max_len)
|
|||
if (string.len(name) < max_len + 1 --[[ The space taken by the ellipsis --]] ) then
|
||||
return (name)
|
||||
else
|
||||
return (string.sub(name, 1, max_len) .. ellipsis)
|
||||
return string.sub(name, 1, max_len) .. ellipsis
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue