mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Fix scons and src/FontList.cpp for the addition of FontList.h|cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21066 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
026013e1eb
commit
db997edc21
@ -61,6 +61,7 @@ src_header_files = Split('''
|
||||
Floating.h
|
||||
Font.h
|
||||
FontIterator.h
|
||||
FontList.h
|
||||
Format.h
|
||||
FuncRequest.h
|
||||
FuncStatus.h
|
||||
@ -171,6 +172,7 @@ src_pre_files = Split('''
|
||||
Floating.cpp
|
||||
Font.cpp
|
||||
FontIterator.cpp
|
||||
FontList.cpp
|
||||
Format.cpp
|
||||
FuncRequest.cpp
|
||||
FuncStatus.cpp
|
||||
|
@ -66,7 +66,7 @@ Font & FontList::get(pos_type pos)
|
||||
{
|
||||
iterator end = list_.end();
|
||||
iterator it = fontIterator(pos);
|
||||
if (it != end && it->pos == pos)
|
||||
if (it != end && it->pos() == pos)
|
||||
return it->font_;
|
||||
static Font dummy;
|
||||
return dummy;
|
||||
|
Loading…
Reference in New Issue
Block a user