Spotted a mistake in my previous commit, the style would still point to
the last style if the face was not found. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25638 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -313,7 +313,8 @@ ServerFont::SetFace(uint16 face)
|
|||||||
if (style->Face() == face) {
|
if (style->Face() == face) {
|
||||||
style->Acquire();
|
style->Acquire();
|
||||||
break;
|
break;
|
||||||
}
|
} else
|
||||||
|
style = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
gFontManager->Unlock();
|
gFontManager->Unlock();
|
||||||
|
|||||||
Reference in New Issue
Block a user