• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonbathyscaphephpgamewindowsguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

ギコナビ


Commit MetaInfo

Revision4a1bca1acd79c119e0ae7a232d6f9e68c8f3acae (tree)
Time2011-10-22 12:39:22
Authorh677 <h677>
Commiterh677

Log Message

IE9の時に、ゼロ割例外を無視するように修正

Change Summary

Incremental Difference

--- a/Giko.pas
+++ b/Giko.pas
@@ -616,6 +616,7 @@ type
616616 FUpdateExePath: string; ///ƒMƒRƒiƒrXVƒCƒ“ƒXƒg[ƒ‰ƒpƒX
617617 FUpdateExeArgs: string; ///ƒMƒRƒiƒrXVƒCƒ“ƒXƒg[ƒ‰ˆø”
618618 FKokoPopupThreadItem: TThreadItem;
619+ FCwSave: Word; // 8087CW’l•Û‘¶
619620 procedure DownloadEnd(Sender: TObject; Item: TDownloadItem);
620621 procedure DownloadMsg(Sender: TObject; Item: TDownloadItem; Msg: string; Icon: TGikoMessageIcon);
621622 procedure WorkBegin(Sender: TObject; AWorkMode: TWorkMode; const AWorkCountMax: Integer; Number: Integer; const AWorkTitle: string);
@@ -747,7 +748,7 @@ type
747748 property WorkCount: Integer read FWorkCount write FWorkCount;
748749 property UpdateExePath: string read FUpdateExePath write FUpdateExePath;
749750 property UpdateExeArgs: string read FUpdateExeArgs write FUpdateExeArgs;
750-
751+
751752 procedure SetContent(inThread: TBrowserRecord);
752753 function GetActiveContent(popup :Boolean = false): TThreadItem;
753754 function GetActiveList: TObject;
@@ -929,6 +930,13 @@ begin
929930 Writeln('============================================================');
930931 {$ENDIF}
931932 //try
933+ // ƒ[ƒŠ„—áŠO‚ÌŒ»Ý‚̐ݒè‚ð•Û‘¶‚·‚é
934+ FCwSave := Get8087CW;
935+ if ( AnsiPos('9.0', GikoSys.GetIEVersion()) = 1 ) then begin
936+ // IE 9‚̏ꍇ‚¾‚¯A–³Œøƒrƒbƒg‚𗧂Ăé
937+ Set8087CW(FCwSave or $0004);
938+ end;
939+ Set8087CW(FCwSave or $0004);
932940 Sort.SetSortDate(Now());
933941
934942 FTreeType := gttNone;
@@ -1833,6 +1841,8 @@ begin
18331841 // ƒAƒbƒvƒf[ƒgŽÀs
18341842 GikoSys.CreateProcess(FUpdateExePath, FUpdateExeArgs);
18351843 end;
1844+ // ƒ[ƒŠ„—áŠO‚ðŒ³‚É–ß‚·
1845+ Set8087CW(FCwSave);
18361846 end;
18371847
18381848 // ŠeŠ‚É‚ ‚éƒLƒƒƒrƒlƒbƒgE BBS ƒƒjƒ…[‚ðƒZƒbƒg^XV
Binary files a/gikoNavi.res and b/gikoNavi.res differ