• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

ギコナビ


Commit MetaInfo

Revisión0d511726ac61378929060a11198e02ccd95ff9cd (tree)
Tiempo2005-07-23 17:10:05
Autorh677 <h677>
Commiterh677

Log Message

レスの2重取得対策の以前の対策と本対策との不整合による、板が開かない不具合の修正

Cambiar Resumen

Diferencia incremental

--- a/BoardGroup.pas
+++ b/BoardGroup.pas
@@ -689,16 +689,6 @@ end;
689689
690690 procedure TCategory.Delete(index: integer);
691691 begin
692- {if (Items[index] <> nil) then begin
693- try
694- if TBoard(Items[index]).Multiplicity = 0 then
695- TBoard(Items[index]).Free
696- else
697- TBoard(Items[index]).Multiplicity := TBoard(Items[index]).Multiplicity - 1;
698- except
699- end;
700- end;
701- }
702692 inherited Delete(index);
703693 end;
704694
@@ -827,6 +817,7 @@ begin
827817 FLastGetTime := ZERO_DATE;
828818 FIsThreadDatRead := False;
829819 FUnRead := 0;
820+ FMultiplicity := 0;
830821 // FListStyle := vsReport;
831822 // FItemNoVisible := True;
832823
--- a/Giko.pas
+++ b/Giko.pas
@@ -4754,24 +4754,7 @@ begin
47544754 if TObject(ListView.Selected.Data) is TCategory then begin
47554755 SelectTreeNode(ListView.Selected.Data, True);
47564756 end else if TObject(ListView.Selected.Data) is TBoard then begin
4757- if TBoard(ListView.Selected.Data).Multiplicity = 0 then
4758- SelectTreeNode(ListView.Selected.Data, True)
4759- else begin
4760- cNode := TreeView.Selected;
4761- if TObject(cNode.Data) is TCategory then begin
4762- bNode := cNode.getFirstChild;
4763- while bNode <> nil do begin
4764- if TObject(bNode.Data) is TBoard then begin
4765- if TBoard(bNode.Data) = TBoard(ListView.Selected.Data) then begin
4766- bNode.Selected := true;
4767- TreeClick(bNode);
4768- break;
4769- end;
4770- end;
4771- bNode := bNode.getNextSibling;
4772- end;
4773- end;
4774- end;
4757+ SelectTreeNode(ListView.Selected.Data, True)
47754758 end else if TObject(ListView.Selected.Data) is TThreadItem then begin
47764759 Application.ProcessMessages;
47774760 ThreadItem := TThreadItem(ListView.Selected.Data);
--- a/GikoSystem.pas
+++ b/GikoSystem.pas
@@ -3824,13 +3824,12 @@ begin
38243824 end;
38253825 end;
38263826
3827- if (Board.No = 0) then begin
3827+ if (Board.Multiplicity = 0) then begin
38283828 Board.BeginUpdate;
38293829 Board.No := j + 1;
3830+ Board.Multiplicity := 1;
38303831 Board.Title := BoardList[j];
38313832 Board.RoundDate := ZERO_DATE;
3832-
3833- Board.Multiplicity := 0;
38343833 Board.LoadSettings;
38353834 Board.EndUpdate;
38363835 end else begin
Binary files a/gikoNavi.res and b/gikoNavi.res differ