浏览代码

* fix bug #22300, "C" prefix of configuration file.

git-svn-id: trunk@21679 -
marco 13 年之前
父节点
当前提交
b70ed0a407
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      ide/fp.pas

+ 2 - 1
ide/fp.pas

@@ -177,8 +177,9 @@ begin
           'C' : { custom config file (BP compatiblity) }
            if BeforeINI then
             begin
+              delete(param,1,1); // delete C
               if (length(Param)>=1) and (Param[1] in['=',':']) then
-                Delete(Param,1,1); { eat separator }
+                Delete(Param,1,1); { eat optional separator }
               IniFileName:=Param;
             end;
           'R' : { enter the directory last exited from (BP comp.) }