mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Draw: Fixed compilation issue with Set__
git-svn-id: svn://ultimatepp.org/upp/trunk@6273 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7058e73318
commit
a96ad8ee74
1 changed files with 6 additions and 2 deletions
|
|
@ -25,12 +25,16 @@ void InvalidateFontList()
|
|||
sListValid = false;
|
||||
}
|
||||
|
||||
void Set__(volatile bool& b);
|
||||
|
||||
const Vector<FaceInfo>& Font::List()
|
||||
{
|
||||
static Vector<FaceInfo> list;
|
||||
if(!sListValid) {
|
||||
Set__(sListValid);
|
||||
list = GetAllFacesSys();
|
||||
INTERLOCKED {
|
||||
Set__(sListValid);
|
||||
list = GetAllFacesSys();
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue