mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-23 07:39:54 +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
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils, Classes, Forms, ClipBrd, LCLProc, LazLoggerBase,
|
SysUtils, Classes, Forms, ClipBrd, LCLProc, LazLoggerBase, strutils,
|
||||||
IDEWindowIntf, DebuggerStrConst,
|
IDEWindowIntf, DebuggerStrConst,
|
||||||
ComCtrls, ActnList, Menus, BaseDebugManager, Debugger, DebuggerDlg;
|
ComCtrls, ActnList, Menus, BaseDebugManager, Debugger, DebuggerDlg;
|
||||||
|
|
||||||
@ -192,7 +192,7 @@ var
|
|||||||
if I > 0 then
|
if I > 0 then
|
||||||
begin
|
begin
|
||||||
// Invalid enum value: "true (85)" => "85"
|
// Invalid enum value: "true (85)" => "85"
|
||||||
L := Pos(')', AValue, I+1);
|
L := PosEx(')', AValue, I+1);
|
||||||
Result := Copy(AValue, I+1, L-I-1);
|
Result := Copy(AValue, I+1, L-I-1);
|
||||||
end else
|
end else
|
||||||
begin
|
begin
|
||||||
|
Loading…
Reference in New Issue
Block a user