]> git.lyx.org Git - features.git/commitdiff
Fix scons and src/FontList.cpp for the addition of FontList.h|cpp
authorBo Peng <bpeng@lyx.org>
Fri, 19 Oct 2007 15:23:11 +0000 (15:23 +0000)
committerBo Peng <bpeng@lyx.org>
Fri, 19 Oct 2007 15:23:11 +0000 (15:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21066 a592a061-630c-0410-9148-cb99ea01b6c8

development/scons/scons_manifest.py
src/FontList.cpp

index 3e6fee1df45c78e2a53af09fd780f969fc18fd0f..af042da107cf8aea88074a9a98dfdd21c6b7a9b5 100644 (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
index b512578fec6ce63ea371720f89d06d417fcd7bae..a9e9b7901110ab9ab8c4491b434cdbdbf446b497 100644 (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;