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:
Bo Peng 2007-10-19 15:23:11 +00:00
parent 026013e1eb
commit db997edc21
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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;