(get_features): Don't return "*" even if all
authorhanda <handa>
Wed, 29 Jun 2005 11:25:33 +0000 (11:25 +0000)
committerhanda <handa>
Wed, 29 Jun 2005 11:25:33 +0000 (11:25 +0000)
features are being used.

example/otfview.c

index ea150e6..bd7e17b 100644 (file)
@@ -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)
     {