From db997edc21a042742d9d62d6f29ab9dac7ae77e7 Mon Sep 17 00:00:00 2001 From: Bo Peng Date: Fri, 19 Oct 2007 15:23:11 +0000 Subject: [PATCH] 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 --- development/scons/scons_manifest.py | 2 ++ src/FontList.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 3e6fee1df4..af042da107 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -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 diff --git a/src/FontList.cpp b/src/FontList.cpp index b512578fec..a9e9b79011 100644 --- a/src/FontList.cpp +++ b/src/FontList.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; -- 2.39.2