From 855925c969be3a7b7d9ed1d947e900037d573c0f Mon Sep 17 00:00:00 2001 From: Dekel Tsur Date: Tue, 15 Oct 2002 14:42:16 +0000 Subject: [PATCH] Simplify git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5412 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/FontInfo.C | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/frontends/xforms/FontInfo.C b/src/frontends/xforms/FontInfo.C index 52788c7946..350116735e 100644 --- a/src/frontends/xforms/FontInfo.C +++ b/src/frontends/xforms/FontInfo.C @@ -142,10 +142,8 @@ void FontInfo::query() scaleindex = i; } scalable = true; - }; - // Ignore bogus matches of scalable fonts. - if (sizes[i] > 0 && - lyx::atoi(token(name, '-', 12)) == 0) + } else if (lyx::atoi(token(name, '-', 12)) == 0) + // Ignore bogus matches of scalable fonts. sizes[i] = 0; }; XFreeFontNames(list);