From: handa Date: Wed, 29 Jun 2005 11:25:33 +0000 (+0000) Subject: (get_features): Don't return "*" even if all X-Git-Tag: REL-0-9-5~53 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e4db363b6bb3688366223d274a702bb547123c4c;p=m17n%2Flibotf.git (get_features): Don't return "*" even if all features are being used. --- 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) {