OSDN Git Service

スレッド一覧読み込み時に利用するTThreadItemのコンストラクタで、
authorh677 <h677>
Sat, 31 Jan 2009 15:48:36 +0000 (15:48 +0000)
committerh677 <h677>
Sat, 31 Jan 2009 15:48:36 +0000 (15:48 +0000)
余分なURLの処理をなくした。

BoardGroup.pas

index 4b3d7f7..752daa0 100644 (file)
@@ -279,7 +279,7 @@ type
        public
                constructor Create(const inPlugIn : TBoardPlugIn; const inBoard : TBoard; inURL : string ); overload;
                constructor Create(const inPlugIn : TBoardPlugIn; const inBoard : TBoard;
-                                        inURL : string; inExist: Boolean; const inFilename: string ); overload;
+                                        const inURL : string; inExist: Boolean; const inFilename: string ); overload;
 
                destructor Destroy; override;
 
@@ -1574,7 +1574,7 @@ end;
 constructor TThreadItem.Create(
        const inPlugIn : TBoardPlugIn;
        const inBoard : TBoard;
-       inURL : string;
+       const inURL : string;
        inExist: Boolean;
        const inFilename: string
 );
@@ -1589,7 +1589,7 @@ begin
                // dat \82Ì\95Û\91\83p\83X\82ð\90Ý\92è
                FileName        := inFilename;
                IsLogFile       := inExist;
-               URL                             := GikoSys.Get2chBrowsableThreadURL( inURL );
+        URL                            := inURL;
        end else begin
                // \83v\83\89\83O\83C\83\93\82É TThreadItem \82ª\8dì\90¬\82³\82ê\82½\82±\82Æ\82ð\93`\82¦\82é
                inPlugIn.CreateThreadItem( DWORD( Self ) );