mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix bug #897 : Title of "table" tab gets "..." (ellipsis) appended although the whole name is visible
This commit is contained in:
@ -684,7 +684,7 @@ end;
|
|||||||
}
|
}
|
||||||
function sstr(str: WideString; len: Integer) : WideString;
|
function sstr(str: WideString; len: Integer) : WideString;
|
||||||
begin
|
begin
|
||||||
if length(str) >= len then
|
if length(str) > len then
|
||||||
begin
|
begin
|
||||||
str := copy(str, 0, len);
|
str := copy(str, 0, len);
|
||||||
str := str + '...';
|
str := str + '...';
|
||||||
|
Reference in New Issue
Block a user