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 Floating.h
Font.h Font.h
FontIterator.h FontIterator.h
FontList.h
Format.h Format.h
FuncRequest.h FuncRequest.h
FuncStatus.h FuncStatus.h
@ -171,6 +172,7 @@ src_pre_files = Split('''
Floating.cpp Floating.cpp
Font.cpp Font.cpp
FontIterator.cpp FontIterator.cpp
FontList.cpp
Format.cpp Format.cpp
FuncRequest.cpp FuncRequest.cpp
FuncStatus.cpp FuncStatus.cpp

View File

@ -66,7 +66,7 @@ Font & FontList::get(pos_type pos)
{ {
iterator end = list_.end(); iterator end = list_.end();
iterator it = fontIterator(pos); iterator it = fontIterator(pos);
if (it != end && it->pos == pos) if (it != end && it->pos() == pos)
return it->font_; return it->font_;
static Font dummy; static Font dummy;
return dummy; return dummy;