ギコナビ
リビジョン | 4a1bca1acd79c119e0ae7a232d6f9e68c8f3acae (tree) |
---|---|
日時 | 2011-10-22 12:39:22 |
作者 | h677 <h677> |
コミッター | h677 |
IE9の時に、ゼロ割例外を無視するように修正
@@ -616,6 +616,7 @@ type | ||
616 | 616 | FUpdateExePath: string; ///MRirXVCXg[pX |
617 | 617 | FUpdateExeArgs: string; ///MRirXVCXg[ø |
618 | 618 | FKokoPopupThreadItem: TThreadItem; |
619 | + FCwSave: Word; // 8087CWlÛ¶ | |
619 | 620 | procedure DownloadEnd(Sender: TObject; Item: TDownloadItem); |
620 | 621 | procedure DownloadMsg(Sender: TObject; Item: TDownloadItem; Msg: string; Icon: TGikoMessageIcon); |
621 | 622 | procedure WorkBegin(Sender: TObject; AWorkMode: TWorkMode; const AWorkCountMax: Integer; Number: Integer; const AWorkTitle: string); |
@@ -747,7 +748,7 @@ type | ||
747 | 748 | property WorkCount: Integer read FWorkCount write FWorkCount; |
748 | 749 | property UpdateExePath: string read FUpdateExePath write FUpdateExePath; |
749 | 750 | property UpdateExeArgs: string read FUpdateExeArgs write FUpdateExeArgs; |
750 | - | |
751 | + | |
751 | 752 | procedure SetContent(inThread: TBrowserRecord); |
752 | 753 | function GetActiveContent(popup :Boolean = false): TThreadItem; |
753 | 754 | function GetActiveList: TObject; |
@@ -929,6 +930,13 @@ begin | ||
929 | 930 | Writeln('============================================================'); |
930 | 931 | {$ENDIF} |
931 | 932 | //try |
933 | + // [áOÌ»ÝÌÝèðÛ¶·é | |
934 | + FCwSave := Get8087CW; | |
935 | + if ( AnsiPos('9.0', GikoSys.GetIEVersion()) = 1 ) then begin | |
936 | + // IE 9Ì꾯A³ørbgð§Äé | |
937 | + Set8087CW(FCwSave or $0004); | |
938 | + end; | |
939 | + Set8087CW(FCwSave or $0004); | |
932 | 940 | Sort.SetSortDate(Now()); |
933 | 941 | |
934 | 942 | FTreeType := gttNone; |
@@ -1833,6 +1841,8 @@ begin | ||
1833 | 1841 | // Abvf[gÀs |
1834 | 1842 | GikoSys.CreateProcess(FUpdateExePath, FUpdateExeArgs); |
1835 | 1843 | end; |
1844 | + // [áOð³Éß· | |
1845 | + Set8087CW(FCwSave); | |
1836 | 1846 | end; |
1837 | 1847 | |
1838 | 1848 | // eÉ éLrlbgE BBS j [ðZbg^XV |