ide: fix FPC 3.0 compilation after r51375 #16c4777cbe

git-svn-id: trunk@51377 -
This commit is contained in:
ondrej 2016-01-22 13:17:18 +00:00
parent cb844b833c
commit a6c38d0bdb

View File

@ -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