Do not crash if the Font cache has not been initialized yet...

git-svn-id: svn://10.0.0.236/trunk@4310 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts 1998-06-23 18:37:49 +00:00
parent adc6800400
commit c65579b402

View File

@ -156,7 +156,7 @@ nsIFontCache* nsDeviceContextWin::GetFontCache()
void nsDeviceContextWin::FlushFontCache()
{
NS_RELEASE(mFontCache);
NS_IF_RELEASE(mFontCache);
}
nsresult nsDeviceContextWin::CreateFontCache()