mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 21:30:35 +02:00
ide: fix FPC 3.0 compilation after r51375 #16c4777cbe
git-svn-id: trunk@51377 -
This commit is contained in:
parent
cb844b833c
commit
a6c38d0bdb
@ -36,7 +36,7 @@ unit LocalsDlg;
|
||||
interface
|
||||
|
||||
uses
|
||||
SysUtils, Classes, Forms, ClipBrd, LCLProc, LazLoggerBase,
|
||||
SysUtils, Classes, Forms, ClipBrd, LCLProc, LazLoggerBase, strutils,
|
||||
IDEWindowIntf, DebuggerStrConst,
|
||||
ComCtrls, ActnList, Menus, BaseDebugManager, Debugger, DebuggerDlg;
|
||||
|
||||
@ -192,7 +192,7 @@ var
|
||||
if I > 0 then
|
||||
begin
|
||||
// Invalid enum value: "true (85)" => "85"
|
||||
L := Pos(')', AValue, I+1);
|
||||
L := PosEx(')', AValue, I+1);
|
||||
Result := Copy(AValue, I+1, L-I-1);
|
||||
end else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user