mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-07 13:00:17 +02:00
LCL-GTK3: Improve handling of & accelerator on button captions. Issue #36255, patch from Alexey Tor.
git-svn-id: trunk@62353 -
This commit is contained in:
parent
62ef41f719
commit
bdf8608839
@ -1937,7 +1937,8 @@ end;
|
||||
|
||||
function ReplaceAmpersandsWithUnderscores(const S: string): string; inline;
|
||||
begin
|
||||
Result := StringReplace(S, '&', '_', [rfReplaceAll]);
|
||||
Result := StringReplace(S, '_', '__', [rfReplaceAll]);
|
||||
Result := StringReplace(Result, '&', '_', [rfReplaceAll]);
|
||||
end;
|
||||
|
||||
{-------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user