bug 424566. fix crash in font selection. r/a=vlad

This commit is contained in:
pavlov@pavlov.net 2008-03-22 18:13:10 -07:00
Родитель 034616f462
Коммит 397473b752
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -574,7 +574,7 @@ gfxWindowsPlatform::FontResolveProc(const ENUMLOGFONTEXW *lpelfe,
struct FontSearch {
FontSearch(PRUint32 aCh, gfxWindowsFont *aFont) :
ch(aCh), fontToMatch(aFont), matchRank(0) {
ch(aCh), fontToMatch(aFont), matchRank(-1) {
}
PRUint32 ch;
nsRefPtr<gfxWindowsFont> fontToMatch;