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:
Stephan Aßmus
2008-05-24 15:30:48 +00:00
parent 1462a0827b
commit 5593e6d9f6
+2 -1
View File
@@ -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();