From e4db363b6bb3688366223d274a702bb547123c4c Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 29 Jun 2005 11:25:33 +0000 Subject: [PATCH] (get_features): Don't return "*" even if all features are being used. --- example/otfview.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/example/otfview.c b/example/otfview.c index ea150e6..bd7e17b 100644 --- a/example/otfview.c +++ b/example/otfview.c @@ -248,12 +248,6 @@ get_features (OTF_FeatureList *list, FeatureRec *rec) else break; } - if (i == rec->langsys->FeatureCount) - { - str = malloc (2); - strcpy (str, "*"); - return str; - } str = malloc (n * 5); for (i = 0, p = str; i < n; i++, p += 5) { -- 1.7.10.4