Fixed potential crash bug in the plugins unit

This commit is contained in:
Christian Hammacher 2006-02-05 13:59:41 +00:00
parent 93ad26fb2a
commit 278e267690
4 changed files with 6 additions and 3 deletions

View File

@ -115,7 +115,7 @@ AutoIncBuild=1
MajorVer=1
MinorVer=4
Release=0
Build=13
Build=15
Debug=0
PreRelease=0
Special=0
@ -126,7 +126,7 @@ CodePage=1252
[Version Info Keys]
CompanyName=AMX Mod X Dev Team
FileDescription=
FileVersion=1.4.0.13
FileVersion=1.4.0.15
InternalName=gaben
LegalCopyright=AMX Mod X Dev Team
LegalTrademarks=

Binary file not shown.

Binary file not shown.

View File

@ -269,7 +269,10 @@ begin
hClose := PHandle(frmClose.Handle);
hConnGen := PHandle(frmConnGen.Handle);
hGoToLine := PHandle(frmGoToLine.Handle);
hHTMLPreview := PHandle(frmHTMLPreview.Handle);
if Assigned(frmHTMLPreview) then
hHTMLPreview := PHandle(frmHTMLPreview.Handle)
else
hHTMLPreview := PHandle(0);
hHudMsgGenerator := PHandle(frmHudMsgGenerator.Handle);
hInfo := PHandle(frmInfo.Handle);
hIRCPaster := PHandle(frmIRCPaster.Handle);